School project in C#