https://learn.microsoft.com/en-us/dotnet/api/system.consolekeyinfo.-ctor?view=net-10.0
ConsoleKeyInfo(Char, ConsoleKey, Boolean, Boolean, Boolean) Constructor (System) | Microsoft Learn
Initializes a new instance of the ConsoleKeyInfo structure using the specified character, console key, and modifier keys.
charbooleanconstructorsystemmicrosoft