- 1
Why when I run the build does the output screen not stay open? At the same time it ends with a message "ConsoleApp1.exe has exi
2 Respuestas
+ 8
The console window closes as soon as your code is done working.
A workaround for this is to write Console.ReadLine() as your last line of code. That way, it won't be done until you press Enter.