Wait set time for user input C#

Posted by Marlon on Stack Overflow See other posts from Stack Overflow or by Marlon
Published on 2010-04-26T15:31:50Z Indexed on 2010/04/26 15:33 UTC
Read the original article Hit count: 206

Filed under:
|
|

I need to know how to wait at set amount of time (about 10 seconds), for a user to input a key or set of keys, before proceeding with an 'auto run' portion of the application.

This is bugging me because I can't quite figure out how the timer works, or threading.sleep, what should I use? Been googling all day.

© Stack Overflow or respective owner

Related posts about c#

Related posts about user-input