First and foremost, an ArrayList contains Objects, not strongly typed instances of any type.
Secondly, why is it not possible to create a List which contains List<string> instances ? Why must you create an array, when you do not know the bounds ? On May 16, 11:50 pm, Abhinav Bipnesh <[email protected]> wrote: > Hi Guys, > > I have to create an array of ArrayList or List at runtime. The size of > array will be known at runtime and that number of arraylist or list > will need to create. One thing I know is that the type of data will be > string so we can assume that these will be string ArrayList/List. > So two question how to create and how to access data from this array > of arraylist. > > Thanks in advance. > Abhiav
