Itransition interview question

C# advanced question, some OOP & some basic bits problem