Console.ReadLine();
or
Console.ReadKey();
ReadLine()
waits for ↩, ReadKey()
waits for any key (except for modifier keys).
Edit: stole the key symbol from Darin.
More Related Contents:
- How to put char ('X') to int array?
- Cannot Implicitly Convert int to int[] [closed]
- Can’t specify the ‘async’ modifier on the ‘Main’ method of a console app
- How can I get the application’s path in a .NET console application?
- How to write Unicode characters to the console?
- Why is the console window closing immediately once displayed my output?
- How to cancel Task await after a timeout period
- Show/Hide the console window of a C# console application
- Hide console window from Process.Start C#
- .NET console application as Windows service
- Custom text color in C# console application?
- .NET Global exception handler in console application
- How to run a C# console application with the console hidden
- How to run a .NET console application in the background
- Displaying Arabic characters in C# console application
- Command to close an application of console?
- How to display list items on console window in C#
- How to receive Plug & Play device notifications without a windows form
- C# arrow key input for a console app
- What is the command to exit a console application in C#?
- Download multiple files async and wait for all of them to finish before executing the rest of the code
- Error-Attempt by method ‘X.set_DbConnection(System.Data.Common.DbConnection)’ to access method ‘Y.get_Settings()’ failed
- How can a C# Windows Console application tell if it is run interactively
- Strange behaviour of Console.ReadKey() with multithreading
- Console.Read() and Console.ReadLine() problems [duplicate]
- C# Count Vowels
- String calculator [closed]
- How do I find out what directory my console app is running in?
- How do I get a return value from Task.WaitAll() in a console app?
- System.drawing namespace not found under console application