Object oriented programming using C#