\\\
Dim astr1() As String = {"Foo", "Bar", "Baz"}
Dim astr2 As String() = {"Foo", "Bar", "Baz"}
Dim astr3() As String = New String() {"Foo", "Bar", "Baz"}
Dim astr4 As String() = New String() {"Foo", "Bar", "Baz"}
///
.... are semantically the same. All four lines will create one-dimensional
string arrays that contain three strings.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.