George George

George George

  • NA
  • 778
  • 0

Console.ReadKey

Jun 12 2008 5:14 AM

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)