G
Guest
I have a situation where I have pairs of strings that I want to put into an
ArrayList and then later pull out of it.
To keep things simple I tried this to put them in:
arrayList.Add(new object[] {stringA, stringB});
That works fine. But I can't figure out how to unbox them into their
constituent components. Might anyone know a way? Or am I forced to create
simple class to define the object that the strings will initially be placed
into?
ArrayList and then later pull out of it.
To keep things simple I tried this to put them in:
arrayList.Add(new object[] {stringA, stringB});
That works fine. But I can't figure out how to unbox them into their
constituent components. Might anyone know a way? Or am I forced to create
simple class to define the object that the strings will initially be placed
into?