Languages
[Edit]
EN

C#/.NET - thread join

3 points
Created by:
Wade
562

In C#/.NET it is possible to wait with Thread.Join method until some thread will not finish working.

Thread.Join method example.

Edit

Where:

  • Thread.Join method - sleeps current code until executed thread will not finish working

Output:

References

Edit
  1. Thread Class - Microsoft Docs
  2. Thread.Join method - Microsoft Docs

See also

Edit
  1. C#/.NET - create thread
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