title: C# - ThreadPool QueueUserWorkItem Use?
body: <p>Just right now I'm using following code to add queued threads. I don't like it. And my colleagues won't either because they don't know C# very well. All I want is of course to queue a method to be executed in a new thread.</p>
  
  <pre><code>private static void doStuff(string parameter)
  {
      // does stuff
  }
  
  // call (a)
  ThreadPool.QueueUserWorkItem(a =&gt; doStuff("hello world"));
  // call (b)
  ThreadPool.QueueUserWorkItem(delegate { doStuff("hello world"); });
  </code></pre>
  
  <p><strong>So are there other use variations of <code>ThreadPool.QueueUserWorkItem</code> ?</strong></p>
  
  <p>Best would be another 1-Line-Call. If possible with use of <code>Func&lt;&gt;</code> or <code>Action&lt;&gt;</code>.
  <hr>
  <strong>EDIT:</strong> Got (b) from the answers and comments and I like it better already.</p>