Console.WriteLine("Console app started");
Console.WriteLine("Press any key to exit...");
Console.ReadKey(true);
General output to console
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
0 Comments
Add Comment
Log in to add a comment