Svam International interview question

Basic about OOP and C#