Top community members
All Wiki Articles Create Wiki Article

Welcome to Dirask IT community! ❤ 💻
We are community of people that helps each other.

If you think you have some skills to help others

help someone and become a part of our community - List Q & A

C#/.NET - thread example

0 contributions
8 points

To use threads in C#/.NET some basic knowledge could be useful.

Useful methods

  • Thread.Start
    See for example here.
  • Thread.Sleep
    See for example here.
  • Thread.Yield
    See for example here.
  • Thread.Join
    See for example here.
  • Thread.Interrupt
    See for example here.
  • Thread.Abort !!! - only for programmers who knows how it works
    See here for example how to stop thread.

Useful properties

  • Thread.Name
    See for example here.
  • Thread.IsBackground
    See for example here.
  • Thread.ThreadState
Note: check full list of constructors, methods and properties in official Microsoft documentation here.
0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more