C# part 1, homeworks