Reputation: 8256
I have an array of String
and I have to convert it to an ArrayList
. Is it possible to do it in VB.Net?
Upvotes: 10
Views: 23839
Reputation: 2489
Try this
Dim sArray() as String 'array of strings
...
Dim aList as ArrayList = New ArrayList(sArray)
Upvotes: 15