Method GetConsoleKey
GetConsoleKey(char, string, ref ConsoleModifiers)
Gets the ConsoleKey depending on terminating and value.
public static ConsoleKey GetConsoleKey(char terminating, string value, ref ConsoleModifiers mod)
Parameters
terminatingcharThe terminating.
valuestringThe value.
modConsoleModifiersThe ConsoleModifiers which may changes.
Returns
- ConsoleKey
The ConsoleKey and probably the ConsoleModifiers.