title: Declaring a const double[] in C#?
body: <p>I have several constants that I use, and my plan was to put them in a const array of doubles, however the compiler won't let me.</p>
  
  <p>I have tried declaring it this way:</p>
  
  <pre><code>const double[] arr = {1, 2, 3, 4, 5, 6, 73, 8, 9 };
  </code></pre>
  
  <p>Then I settled on declaring it as static readonly:</p>
  
  <pre><code>static readonly double[] arr = { 1, 2, 3, 4, 5, 6, 7, 8, 9};
  </code></pre>
  
  <p>However the question remains. Why won't compiler let me declare an array of const values? Or will it, and I just don't know how?</p>