title: Threading error in C#
body: <p>Ok so i am using this line of code in project</p>
  
  <pre><code>System.Threading.ThreadPool.QueueUserWorkItem(new System.Threading.WaitCallback(ProcessReport));
  </code></pre>
  
  <p>but it is throwing the following error</p>
  
  <blockquote>
    <p>No overload for the "ProcessReport" matches delegate “System.Threading.WaitCallback </p>
  </blockquote>
  
  <p>I replace the above mentioned line with the following lines:</p>
  
  <pre><code>Thread t = new Thread(new ThreadStart(ProcessReport));
  t.Start();
  </code></pre>
  
  <p>This removed the error but is this the right way to do it. I cannot check the output right there as i am an intern in a company and this is part of the whole big project. Please help.</p>
  
  <p>I cannot post the whole ProcessReport as i am not allowed to but it starts with this : </p>
  
  <blockquote>
    <blockquote>
      <p>public void ProcessReport()</p>
    </blockquote>
  </blockquote>