title: How can I create a 2 dimensional dynamic length array?
body: <p>I want to create a 2-dimensional array, without knowing the size of the first  dimension.</p>
  
  <p>For example I have an unknown number of rows, when I create an array. 
  Every row represent an account. 
  Exit 4 columns for every row: ID,name,user,password</p>
  
  <p>I tried with jagged array but it is not possible to have:</p>
  
  <pre><code>int[][] jaggedArray = new int[][3];
  </code></pre>
  
  <p>Also I looked for <code>ArrayList</code>, implementation with clases and a little about Generics.</p>
  
  <p>I'm searching for a solution that can permit easy manipulation of data as:</p>
  
  <ul>
  <li>add to list,select,input elements </li>
  <li>using elements in database queries</li>
  <li>using as parameters in other functions</li>
  </ul>
  
  <p>Because I'm a newbie in .NET (C#) please provide me with code solutions, instead of generic(look for) solutions</p>