Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Show:
© 2015 Microsoft