I\'m studying C# by following the guides in MSDN.
Now, I just tried the Example 1 (here is the link to MSDN), and I\'ve encountered an i
Add the following before the return 0:
system("PAUSE");
This prints a line to hit a key to close the window. It will keep the window up until you hit the enter key. I have my students add it to all their programs.