Languages
[Edit]
EN

C#/.NET - sleep thread

10 points
Created by:
Nabila-Burnett
385

To pause thread in C#/.NET Thread.Sleep method can be used.

Edit

Output:

Note: Thread.Sleep sleeps thread in which method has been called for some milliseconds.

References:

Edit
  1. Thread.Sleep Method - Microsoft Docs
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

C# - Thread Class

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join