Siemens interview question

focuses more OOPS and Data Structure C#.