title: Initialize an array to a value
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1014005/how-to-populate-instantiate-a-c-sharp-array-with-a-single-value">How to populate/instantiate a C# array with a single value?</a>  </p>
  </blockquote>
  
  
  
  <p>Given double array</p>
  
  <pre><code>   double[] constraintValue = new double[UnUsedServices.Count];
  </code></pre>
  
  <p>I want to initialize all entry with <code>-1</code>, is there a simple syntax to do it?</p>