Another C# homework