Method GetConsoleKeyInfoFromKeyCode
GetConsoleKeyInfoFromKeyCode(KeyCode)
Gets the ConsoleKeyInfo from the provided KeyCode.
public static ConsoleKeyInfo GetConsoleKeyInfoFromKeyCode(KeyCode key)
Parameters
key
KeyCodeThe key code.
Returns
- ConsoleKeyInfo
The console key info.