Thread
:
C#, kbhit & getch
View Single Post
01-09-2009, 12:49 AM
#
2
(
permalink
)
Baez
Join Date: Sep 2005
Location: Toronto, Canada
Posts: 5,469
Re: C#, kbhit & getch
Code:
Console.WriteLine("Press the X key to exit."); Console.ReadLine();
Then after that you would validate what key was pressed.
__________________
Baez
View Public Profile
Send a private message to Baez
Visit Baez's homepage!
Find More Posts by Baez