Saturday, 27 April 2013

How can we know a state of a thread? | ASP.Net interview questions

"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.

No comments: