Summary
There you have it, something a tad bit better than "Hello, World!" This article showed you how to declare namespaces and classes. It covered classes and also showed members such as fields, properties, and methods. These members have visibility modifiers that control what other program elements can see them, supporting encapsulation.
The program also uses logic-control features such as the do/while loop and switch statements. The logic includes plenty of examples of console I/O and some string manipulation and formatting. Just covering some of the basics, this article leads you to the next, where we break away from the console and present this program in a Windows Forms interface.