0

is there any other way to stop the screen instead of type Console.read(); ?

every time whenever i run a program in visual studio i have to type Console.read(); to stop the output screen. but some time i see that the screen show that "press any key to continue " how i can get rid from the Console.read();

28th Jul 2018, 11:18 AM
Numan Rafeeq
Numan Rafeeq - avatar
2 Answers
0
run the program in non-debug mode and it will not close immediately
28th Jul 2018, 1:33 PM
hinanawi
hinanawi - avatar
0
Thanks Dear
28th Jul 2018, 4:36 PM
Numan Rafeeq
Numan Rafeeq - avatar