Which method is used to determine whether the current thread is background?

Which method is used to determine whether the current thread is background?
Answer
Use the Thread. IsBackground property to determine whether a thread is a background or a foreground thread, or to change its status. A thread can be changed to a background thread at any time by setting its IsBackground property to true .
 

Tìm kiếm

Back
Top