C# OOP homework