Added information about the Console.ReadKey() (#21922)

This commit is contained in:
Max Dionysius
2018-11-17 20:05:28 +01:00
committed by Christopher McCormack
parent 75e37f952b
commit 1be36da043

View File

@ -6,6 +6,8 @@ title: Hello World
To write some text on the console we use the `Console.WriteLine()`. This method takes a string as input and has a return type of `void`.
The method `Console.ReadKey()` waits for a user to press any key.
## Example
```csharp
using System;