CiccioMiami
CiccioMiami

Reputation: 8256

How to convert Array to ArrayList in VB.Net

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

Answers (1)

Java
Java

Reputation: 2489

Try this

Dim sArray() as String 'array of strings
...
Dim aList as ArrayList = New ArrayList(sArray)

Upvotes: 15

Related Questions