Export (0) Print
Expand All

Console.ReadKey Method

Obtains the next character or function key pressed by the user.

Name Description
Console.ReadKey () Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.
Console.ReadKey (Boolean) Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.

Community Additions

ADD
Show:
© 2014 Microsoft