how to keep console window open c# code example
Example: c# keep console open
//Put a Console.Read() as the last line in your program.
//That will prevent it from closing until you press a key
Console.Read();
//Put a Console.Read() as the last line in your program.
//That will prevent it from closing until you press a key
Console.Read();