Course work by OOP using C#