Homework C#