Problem 1, C#