C# Part I homeworks