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