3
Reply

Console.ReadKey

George George

George George

Jun 12 2008 5:14 AM
3.9k

Hello everyone,


I can not find answer from MSDN. My question is, when Console.ReadKey is called on a thread,

1. the thread will be still in running status (like we call Sleep), which will consume CPU time?
2. or the thread will be in wait status like we call WaitOne, and keyboard press will signal the event?


thanks in advance,
George


Answers (3)