Accenture interview question

Oops concepts Basic c# SQL related