title: .NET ParameterizedThreadStart wrong return type
body: <p>I just started experimenting with Threads and I ran in to a problem I'm not able to solve on my own. I get the error: Error 1   'bool projekt.ftp.UploadFil (object)' has the wrong return type</p>
  
  <p>I use this code to start a thread using the method ftp.Uploadfile:</p>
  
  <pre><code>Thread ftpUploadFile = new Thread(new ParameterizedThreadStart(ftp.UploadFile));
  ftpUploadFile.Start(e.FullPath);
  </code></pre>
  
  <p>And this is the method I used.             </p>
  
  <pre><code>public static bool UploadFile(object filename)
  {
      string file = Convert.ToString(filename);
  
      /* blah blah fricken blah snip */
  
      return false; 
  
  }
  </code></pre>