LP,
The best choice is to use the ArrayList class, do the work you need to
do, and then get the array back by using the ToArray method on the ArrayList
class.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
LP said:
Thank you all,
I would like to use ArrayList, but I am getting an array of strings from a
VB.NET class that someone else developed. I need to do further
manipulation
on this array, add more elements and then pass it to another object as
Array
of strings again that will store its data to SQL db.
I don't know if it makes sense to convert this Array to ArrayList and then
back to another Array.
The best option at this point (besides rewriting 2 objects) is to use
Array.Copy. Any other ideas?