Bilal Ashraf Bilal Ashraf - 1 year ago 87
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.

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download