Hi Steven,
Arraylists are one-dimensional only.
If you want it to be multidimensional you need to create an object
(class/struct) that holds the information you want.
You could possibly transfer your arraylists via two one-dimensional arrays
into a two dimensional-array using ArrayList.ToArray and Array.Copy, but
you won't end up with an ArrayList and the time spent on doing this
transformation would probably not be worth it as iterations will do the
same in about the same amount of time.
On Mon, 21 Mar 2005 11:39:37 -0800, Steven
<counterball_20122@_hotmail.com> wrote:
I have 2 arraylists (name and value). Is there anyway that I can make
that
into one arraylist with 2 columns. First column as name and second
column as
value?
-- Steven
--
Happy Coding!
Morten Wennevik [C# MVP]