The ConsoleKeyInfo type exposes the following members.
Initializes a new instance of the ConsoleKeyInfo structure using the specified character, console key, and modifier keys.
Tests whether the specified object is equivalent to this ConsoleKeyInfo instance.(Overrides .)
Allows an(Inherited from to attempt to free resources and perform other cleanup operations before the is reclaimed by garbage collection. .)
Returns a hash code of this instance.(Overrides .)
Gets the(Inherited from of the current instance. .)
Creates a shallow copy of the current(Inherited from . .)
Returns the fully qualified type name of this instance.(Inherited from .)
Tests whether two instaces of the ConsoleKeyInfo structure are equivalent.
Tests whether two instaces of the ConsoleKeyInfo structure are different.
Gets the console key represented by the current ConsoleKeyInfo object.
Gets the Unicode character represented by the current ConsoleKeyInfo object.
Gets a bitwise combination of System.ConsoleModifier values that specifies one or more modifier keys pressed simultaneously with the console key.