title: C#: Object Array with Constructor parameter
body: <p>I have a class <code>Measurement</code>.</p>
  
  <p>I have a constructor inside this class. as:</p>
  
  <pre><code>class Measurement
      {
        public Measurement(MainWindow mainWindow)
          {
              ....
          }
  }
  </code></pre>
  
  <p>How can I create an Array of 8 Objects with the MainWindow Parameter?</p>
  
  <p>Like somewhere in my code:</p>
  
  <pre><code>Measurement[] measurements= new Measurement[8](mainWin); 
  </code></pre>