title: C# Array List of ArrayList
body: <p>I have an arraylist of string objects, that then gets added into and arraylist of arraylists.</p>
  
  <p>As a java developer I used to use Vectors, I know now defunct but the name sounds great haha!!, I also used ArrayList which both had access to the sub arraylist by means of, for example</p>
  
  <pre><code>ArrayList&lt;String&gt; array1 = new ArrayList&lt;String&gt;();
  array.add("test");
  
  ArrayList&lt;ArrayList&gt; array2 = new ArrayList&lt;ArrayList&gt;()
  array2.add(array1);
  
  string var = array2.get(1).get(2);
  </code></pre>
  
  <p>What is this equivilent in C#?</p>