Counting Program in C#