title: How to start Thread with lambda expression c#
body: <p>I have this class:</p>
  
  <pre><code>public class Statistics
  {
      List&lt;string&gt; _lsit;
  
      public List&lt;string&gt; ipList
      {
          get { return _lsit; }
          set { _lsit = value; }
      }
  
      string _Path = @"C:\Program Files\myApp.exe";
      string _Path = "";
      ProcessStartInfo ps = null;
  
      public getStatistics(string Path)
      {
          _Path = Path;
          getStatistics();
      }
  }
  </code></pre>
  
  <p>I want to start the function Statistics with different Thead and i did somthing like:</p>
  
  <pre><code>Statistics stat = new Statistics (some path);
  Thread&lt;List&lt;string&gt;&gt; lList = new Thread&lt;List&lt;string&gt;&gt;(() =&gt; tsharkIps.getStatistics());
  </code></pre>
  
  <p>but the compiler Error says "The non-generic type 'System.Threading.Thread' cannot be used with type arguments" </p>
  
  <p>I did not write all my class and only want to know hot to start the thread</p>
  
  <p>thanks</p>