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