How can I kill all active threads excluding the main thread with c#?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1825882/getting-list-of-currently-active-managed-threads-in-net">Getting list of currently active managed threads in .NET?</a>  </p>
</blockquote>



<p>In a c# method I start several threads simultaneously with the following construct:</p>

<pre><code>new Thread(() =&gt;
{
    Application.Run(...);
}).Start();
</code></pre>

<p>How can I get the list of all active threads afterwards and kill them all excluding the main thread?</p>
