How to automatically remove threads from the list of threads in c#

As it is clear from the title
I want remove automatically threads from threads list when thread jobs done.
like:

Thread thr;
if(thr.done)
{
    threadlist.remove(thr);
}


Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)