UtilConsolePause(ConsoleKey) Method
Pause the console execution indefinitely until the specified key is pressed.
Namespace: DevCase.Core.Application.ConsoleAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
Parameters
- key ConsoleKey
-
The key to wait for.
This is a code example.
No code example is currently available or this language may not be supported.
Dim key As ConsoleKey = ConsoleKey.Enter
Console.WriteLine($"Press '{key}' key to continue...")
Pause(key)
Console.WriteLine("Well done.")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.