When you run a console application from visual studio the application run so fast and the console closes that you never see the output.





2.00/5 (1 vote)
Add a call to Console.Readline() or Console.Read() at the end of your Main function this will prever the console from closing until the user presses a key or enter.
Add a call to Console.Readline() or Console.Read() at the end of your Main function this will prever the console from closing until the user presses a key or enter.