title: How to pass parameters to thread by reference in c#?
body: <p>I have to pass multiple parameters to a thread. I have wrapped them into a class object. In which one variable (double array) i want pass it as reference (I am expecting the result in this variable). How does it possible?</p>
  
  <pre><code>class param
  {
     int offset = 0;
     double[] v = null;
  }
  param p = new param();
  p.v = new double[100]; // I want to pass this(v) variable by reference
  p.offset = 50;
  
  ....
  thread1.Start(p);
  </code></pre>