Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft