ArrayList arr1 = new ArrayList();
arr1.Add(1);
arr1.Add(2); ArrayList arr2 = new ArrayList();
arr2.Add(arr1); int i = (int)((ArrayList)arr2[0])[0];