Colleagues,
Can't recall if I've asked this Q. B 4, forgive me if I had.
Say, you have two arrays of the same data type, and you need to add/concatenate/append them into one.
Besides the obvious (ReDim Preserve one array with the sum of elements and copy the elements of the second one to the empty sells of the first one) -
is there a function in the .NET that does exactly that? Something like (tried, dinna work)
(I ran the search in MS .NET Help, found nothing helpful...)
Regards,
Ilya
Can't recall if I've asked this Q. B 4, forgive me if I had.
Say, you have two arrays of the same data type, and you need to add/concatenate/append them into one.
Besides the obvious (ReDim Preserve one array with the sum of elements and copy the elements of the second one to the empty sells of the first one) -
is there a function in the .NET that does exactly that? Something like (tried, dinna work)
Code:
Dim la1() As String = {"1", "2", "3"}
Dim la2() As String = {"4", "5", "6"}
Dim laS() As String = la1 & la2 ' Erred, "[COLOR=#CC0000]Error BC30452 Operator '&' is not defined for types 'String()' and 'String()'[/color]"
(I ran the search in MS .NET Help, found nothing helpful...)
Regards,
Ilya