Thread.Sleep Method
.NET Framework (current version)
Suspends the current thread for the specified amount of time.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Sleep(Int32) | Suspends the current thread for the specified number of milliseconds. |
![]() ![]() | Sleep(TimeSpan) | Suspends the current thread for the specified amount of time. |
Show:

