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
terminating
charThe terminating.
value
stringThe value.
mod
ConsoleModifiersThe ConsoleModifiers which may changes.
Returns
- ConsoleKey
The ConsoleKey and probably the ConsoleModifiers.