title: Can you define an array with a pre-specified size in C#?
body: <p>What I'm trying to do here should be obvious by the below code</p>
  
  <pre><code>public class RangeInfo
  {
      public int[2] Range { set; }
      public string Text { set; }
  }
  
  public readonly RangeInfo[4] Ranges = new RangeInfo[4] { 
      new RangeInfo { Range = new int[2] {Int32.MinValue,70}, Text = "..." },
      new RangeInfo { Range = new int[2] {70,80}, Text = "..." },
      new RangeInfo { Range = new int[2] {80,90}, Text = "..."},
      new RangeInfo { Range = new int[2] {90,Int32.MaxValue}, Text = "..." }
  };
  </code></pre>
  
  <p>but I'm getting tons of errors like</p>
  
  <blockquote>
    <p>Array size cannot be specified in a variable declaration</p>
  </blockquote>
  
  <p>on <code>public int[2]</code>, </p>
  
  <blockquote>
    <p>Expected, class, delegate, enum or struct</p>
  </blockquote>
  
  <p>on <code>RangeInfo[4]</code></p>
  
  <p>What am I doing wrong? </p>