A counting application in C#.