A
Andreas Schulz
Hi,
when I recently used an ArrayList to store multiple string objects I
mentioned that there is no method for getting a specific value. The docu
says the Item property to get a specific element is not supported by the
compact framework. Fine, but how to get the values else? Inserting at a
specific position is no problem since there is an Add method with
several overloadings.
What I did to get the values back was to copy the ArrayList to a string
array by using the CopyTo method and then getting the values out of
string array.
But that can't be the way to do, can it?
when I recently used an ArrayList to store multiple string objects I
mentioned that there is no method for getting a specific value. The docu
says the Item property to get a specific element is not supported by the
compact framework. Fine, but how to get the values else? Inserting at a
specific position is no problem since there is an Add method with
several overloadings.
What I did to get the values back was to copy the ArrayList to a string
array by using the CopyTo method and then getting the values out of
string array.
But that can't be the way to do, can it?