How Can We Know state of thread?

Q

How Can We Know state of thread?

✍: Guest

A
"ThreadState" property can be used to get detail of a thread. Thread can have one or a combination of status.System.Threading. Threadstate enumeration has all the values to detect a state of thread. Some sample states are Isrunning, IsAlive, suspended etc.

2009-03-06, 5372👍, 0💬