multidimensional ArrayList

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you create a multidimensional array using ArrayList? I'm asking this because I can't have a static size except for the width. The length will continue to grow.
 
Each element of the ArrayList would then be another ArrayList.

ArrayList a = new ArrayList();
a.Add(new ArrayList());


Al Gorney said:
How do you create a multidimensional array using ArrayList? I'm asking
this because I can't have a static size except for the width. The length
will continue to grow.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top