Bilal Ashraf Bilal Ashraf - 4 months ago 28
C# Question

Console window disappear immediately

Console window is not stable in visual studio using c#.

is not working also. window disappear immediately and I can not see results.


You need to add the following line after your code:


This will prevent the console from executing the next line until you press any key. In your case, it will simply finish running the code.