G Guest May 17, 2004 #1 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.
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.
P Peter Rilling May 17, 2004 #2 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 Click to expand... 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 Click to expand... this because I can't have a static size except for the width. The length will continue to grow.