Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

When you run a console application from visual studio the application run so fast and the console closes that you never see the output.

2.60/5 (4 votes)
4 Feb 2010CPOL 25.5K  
ohhh...this is an easy fix. Just put down the statement Console.Readline() as the last line in your program. This will keep the window open until you hit the enter key.That's cool!!!!!!
ohhh...this is an easy fix. Just put down the statement Console.Readline() as the last line in your program. This will keep the window open until you hit the enter key.
That's cool!!!!!!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)