[Solved] Console window disappear immediately


You need to add the following line after your code:

Console.ReadKey();

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.

1

solved Console window disappear immediately