homework for c#