65.9K
CodeProject is changing. Read more.
Home

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

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.60/5 (4 votes)

Feb 4, 2010

CPOL
viewsIcon

25512

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!!!!!!