0
How to hold output in cmd?
hold output in cmd
4 Réponses
+ 3
write a Console.Read(); before the end of your main function. it will wait for you to press any key before returning to your code.
+ 3
Or you can write Console.ReadKey(); or u can even specify a key. This will stop the output until a key or The key is pressed.
+ 1
For visual studio, run the program by pressing Ctrl+F5 so it wouldnt close the program immediately
0
thank you very much