By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

Keep Console Output Window open

P: n/a
I've got a simple program in which I just write something to the console
output window, but when I compile and run the program, the output windows
displays the output and closes right away. How do I configure it to have
the console window stay open so I can view the output without it closing.

Thanks
Jason
Apr 3 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
jvb
Try this Jason,

Console.Write("Press any key to continue...")
Console.ReadLine()

Apr 3 '06 #2

P: n/a
I was thinking of that, but I was also wondering if there is a setting in a
configuration window that would allow the output window to stay open after
the program has finished excution.
"jvb" <go*****@gmail.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Try this Jason,

Console.Write("Press any key to continue...")
Console.ReadLine()

Apr 3 '06 #3

P: n/a
jvb
If there is, i do not know of one, that is the only way that I know of
to keep a console window open from an app.

Apr 3 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.