Hexagon interview question

i was asked basic c# questions.