Hi Guys, My problem is that I want to make a buckets of some type like this
FirstName -> X - Y -Z LastName-> X-Y-Z Age-> V-B-Z etc But I dont know before runtime that how many such buckets do I need to hold the data. So I need a good and efficient way of holding all these data. If you guys can suggests some good data structure then please do. Thanks in advance. Abhinav On May 17, 12:09 am, Cerebrus <[email protected]> wrote: > 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
