title: How to get data out of an Arraylist
body: <p>So in a <a href="https://stackoverflow.com/questions/6206058/multiple-arraylist-into-a-multi-dimensional-array">previous quesiton</a> I asked how i could merge multiple array list into one array list.</p>
  
  <p><a href="https://stackoverflow.com/questions/6206058/multiple-arraylist-into-a-multi-dimensional-array/6206133#6206133">This answer</a> worked (also listed below). However, I am having issues getting the records out.  How do I get the data out of this multi dimensional arraylist.  For example, what if I wanted to get just address out?</p>
  
  <pre><code>ArrayList Names = new ArrayList(); 
  ArrayList Phone = new ArrayList(); 
  ArrayList Address = new ArrayList(); 
  ArrayList res = new ArrayList();  
  for(int i=0; i&lt;Names.Count; i++) 
  {   
    res.Add(new string[]{Names[i].ToString(), Phone[i].ToString(), Address[i].ToString()}); 
  } 
  </code></pre>