simple console question

  • Thread starter Thread starter Sharon and James
  • Start date Start date
S

Sharon and James

How can I configure Visual Studio .Net so the console does not go away when
I execute console programs.
Also, is there a good newsgroup for general Visual Studio .Net questions,
non C#.

Thank You
 
You could add a simple Console.ReadLine(); to the end of your Main method.
Then it will wait for you to press enter...
 
If you run nodebug (with "!") then the IDE holds the console open for
you until you press a key. For unfathomable reasons, this does not
happen in debug mode, but a break on the last '}' of main will sort it.

microsoft.public.studio.general is a newsgroup, but it seems a bit
quiet.

Regards,

Jasper Kent
 

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

Back
Top