I wonder why a Console Application after executed always display "Press any key to continue..."
I'd like it to close itself right after that needless of my key input.
Could someone offer me a chance to know ? Thank you
Printable View
I wonder why a Console Application after executed always display "Press any key to continue..."
I'd like it to close itself right after that needless of my key input.
Could someone offer me a chance to know ? Thank you
Are you talking about when debugging the application ? Because while running the application directly, I didnt faced any such issue.
They don't. If a program asks for input to close then the programmer has added to code to accomplish that. When your main method exits the program will close.