title: How to add item to array in C#
body: <p>I have a loop that is generating about 150 unique strings.  How can I add these strings to an array?</p>
  
  <p>Here is my loop:</p>
  
  <pre><code>for (int intCounter = 0; intCounter &lt; projectCount; intCounter ++)
  {
      var projectname = project.value[intCounter].name;
      var releaseUri = "http://tfs1:8080/tfs/defaultcollection/" + projectname + "/_apis/release/releases?api-version=3.0-preview.2&amp;searchText=911&amp;minCreatedTime=" + date + "T00:00:00.00Z";
      Console.WriteLine(releaseUri);
  }
  </code></pre>
  
  <p>The <code>Console.WriteLine(releaseUri)</code> prints each url.  but I would like to store the releaseUri in an array.</p>