Thread.Sleep is capable of sleeping for approximately 3 1/2 weeks.
it takes an int as it's parameter. the largest value of an int is 2^31 -1 which in this case is representative of milliseconds... you do the math.![]()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: How long will Sleep sleep?Threaded View
|
Click Here to Expand Forum to Full Width |