ConsoleKeyInfo Properties

The ConsoleKeyInfo type exposes the following members.

  Name Description
Public property Key Gets the console key represented by the current ConsoleKeyInfo object.
Public property KeyChar Gets the Unicode character represented by the current ConsoleKeyInfo object.
Public property Modifiers Gets a bitwise combination of System.ConsoleModifiers values that specifies one or more modifier keys pressed simultaneously with the console key.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft