title: Stop Threads created with ThreadPool.QueueUserWorkItem that have a specific task
body: <p>Let's say I queue those two methods in a <code>for</code> loop</p>
  
  <pre><code>for (int i = 0; i &lt; 100; i++)
  {
      ThreadPool.QueueUserWorkItem(s =&gt;
      {
          Console.WriteLine("Output");
          Thread.Sleep(1000);
      });
  }
  
  for (int i = 0; i &lt; 100; i++)
  {
      ThreadPool.QueueUserWorkItem(s =&gt;
      {
          Console.WriteLine("Output2");
          Thread.Sleep(1000);
      });
  }
  </code></pre>
  
  <p>Is there a way to stop all the threads that output <code>Console.WriteLine("Output2");</code> but keep the ones running that output <code>Console.WriteLine("Output");</code> ?</p>