title: C# multi-dimensional array, ArrayList, or hash table?
body: <p>I'm trying to figure out how to build a multi-dimensional "array" that is:</p>
  
  <ul>
  <li>flexible size</li>
  <li>use 2 keys</li>
  <li>1st key is int (flexible)</li>
  <li>2nd key is string (kind of limited)</li>
  </ul>
  
  <p>The use will be like:</p>
  
  <pre><code>console.writelen(array[0]["firstname"]);
  console.writelen(array[0]["lastname"]);
  console.writelen(array[0]["phone"]);
  
  console.writelen(array[1]["firstname"]);
  console.writelen(array[1]["lastname"]);
  console.writelen(array[1]["phone"]);
  
  .....
  .....
  
  console.writelen(array[x]["firstname"]);
  console.writelen(array[x]["lastname"]);
  console.writelen(array[x]["phone"]);
  </code></pre>