Monday, November 21, 2011

Console Screen: runs and disappears?

When you compile and execute a console application, it may run fast as disappear. To get rid of this, you can add

Console.ReadKey

Statement in the end, to pause it. It will wait until you press a key.

No comments:

Post a Comment