title: How to call the method in thread with arguments and return some value
body: <p>I like to call the method in thread with arguments and return some value here example</p>
  
  <pre><code>class Program
  {
      static void Main()
      {
          Thread FirstThread = new Thread(new ThreadStart(Fun1));
          Thread SecondThread = new Thread(new ThreadStart(Fun2));
          FirstThread.Start();
          SecondThread.Start();
      }
      public static void Fun1()
      {
          for (int i = 1; i &lt;= 1000; i++)
          {
              Console.WriteLine("Fun1 writes:{0}", i);
          }
      }
      public static void Fun2()
      {
          for (int i = 1000; i &gt;= 6; i--)
          {
              Console.WriteLine("Fun2 writes:{0}", i);
          }
      }
  }
  </code></pre>
  
  <p>I know this above example run successfully but if method fun1 like this</p>
  
  <pre><code>public int fun1(int i,int j)
  {
      int k;
      k=i+j;
      return k;
  }
  </code></pre>
  
  <p>then how can I call this in thread?</p>