There are two ways that I know of. Put Console. ReadLine() at the end of your program. Disadvantage: you have to change your code, and have to remember to remove it later on. Run without a debugger, using CTRL + F5 . This opens a console window outside of Visual Studio, and that window won't close when finished.