Can you Concat two arrays to create one sequence that contains each array's values, one after the other?
Var ArrayA[]={4,8,7,9,4,7}
Var ArraB[] ={8,2,5,7,8,1}
Answers(vb)
Public Sub ConcatenateTwoArray()
Dim numbersA() = {4, 8, 7, 9, 4, 7}
Dim numbersB() = {8, 2, 5, 7, 8,1}
Dim allNumbers = numbersA.Concat(numbersB)
Console.WriteLine("All numbers from both arrays:")
For Each n In allNumbers
Console.WriteLine(n)
Next
End Sub
Output:{4,8,7,9,4,7,8,2,5,7,8,1}