Home All Groups Group Topic Archive Search About

Keep Console Output Window open

Author
3 Apr 2006 1:52 PM
Jason
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

Author
3 Apr 2006 2:23 PM
jvb
Try this Jason,

Console.Write("Press any key to continue...")
Console.ReadLine()
Author
3 Apr 2006 3:11 PM
Jason
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.


Show quoteHide quote
"jvb" <gome***@gmail.com> wrote in message
news:1144074237.723724.226230@z34g2000cwc.googlegroups.com...
> Try this Jason,
>
> Console.Write("Press any key to continue...")
> Console.ReadLine()
>
Author
3 Apr 2006 3:26 PM
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.