School stuff in C#