0
1
llucycodes42
The code starts the console application, and then asks the user to press any key to exit. If the user presses a key, the code will exit and the console application will be closed.
Shortcut: cgo
Console.WriteLine("Console app started");
Console.WriteLine("Press any key to exit...");
Console.ReadKey(true);