title: create an array via loop
body: <p>I need to create an array of strings, easy enough... the only problem is that the strings are integers from 1-1000 and I really dont want to type each of them.</p>
  
  <p>Can you create a loop that could create this?</p>
  
  <p>right now it looks like this</p>
  
  <pre><code>        private readonly string[] _myArray = { "1", "2", "3", "4", "5" };
  </code></pre>
  
  <p>and its called by</p>
  
  <pre><code>        for (var i = 0; i &lt; _myArray.Length; i++)
          {
              arFoo[i].SetBar(_myArray[i]);
          }
  </code></pre>
  
  <p>any suggestions on how to add the other 995 without manually typing them?</p>