Visual Studio c# - lighting fast command prompt when debugging?
Question: Visual Studio c# - lighting fast command prompt when debugging?
( Back )
Answer #1:
If you use "Start without debugging" from the Debug menu, or Ctrl+F5, then you'll get a pause to press a key when your console program terminates.
I used Tools>Customize... to add a button for this to my Build toolbar.
While debugging, you can add something like this to the end of Main(), just before you exit:
Console.Write("Program ended. Press Enter: ");
Console.ReadLine();
** Powered by Yahoo Answers