R
Rory Becker
I have an "array of strings".
I would like to convert this to a "List(Of Reference)"
A reference is an object which is creatable by passing one of said strings
to it's only constructor.
I can do this with a loop thus....
-------------------------------------------------------------
Dim Strings As String() = new string(){"String1", "String2"}
Dim References As New List(Of Reference)
For Each item In Strings
References.Add(New Reference(item))
Next
I would like to convert this to a "List(Of Reference)"
A reference is an object which is creatable by passing one of said strings
to it's only constructor.
I can do this with a loop thus....
-------------------------------------------------------------
Dim Strings As String() = new string(){"String1", "String2"}
Dim References As New List(Of Reference)
For Each item In Strings
References.Add(New Reference(item))
Next