nCircle Tech interview question

C# basic , coding ,oops concepts