title: automatically expanding array in .NET?
body: <p>Does .NET have anything similar to Perl arrays, which are indexed numerically but automatically expand as needed?  It would work like this:</p>
  
  <pre><code>var x = new DreamArray&lt;string&gt;();
  
  x[6] = "foo";  // x automatically has 7 elements
  x[10] = "bar"; // now it has 11
  </code></pre>