Console Project

G

Guest

I have written a console project that uses a console window to display the
output using Console.WriteLine. How do I keep the console window open after
the writing the output as it seems to close imediately after writing? This
output is at the end of the program and it appears the window is closing when
the application completes. Is there a way to keep the window open even if
the program terminates?
 
C

Cowboy \(Gregory A. Beamer\)

Add a Console.Read() to pause the window until someone clicks something.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top