My Apologies Cjard You are Very Correct
I apologize for the confusion I have caused, The output in fact needs to be in a text box, I was able to get part of it working with the following code:
Dim intX() As Integer = {4, 9, 12, 15, 22, 33, 44, 66, 72, 84, 87, 92, 96, 98, 99}
Dim intY() As Integer = {6, 8, 12, 16, 24, 31, 68, 71, 73, 74, 81, 93, 94}
Dim intZ(27) As Integer
Private Sub btnMerge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMerge.Click
Dim I As Integer
For I = 0 To 14
intZ(I) = intX(I)
Next
For I = 0 To 12
intZ(I + 12) = intY(I)
txtBox1.Text = txtBox1.Text & intZ(I) & intZ(I + 12)
Next
End Sub
The out put in the textbox is supposed to be:
4, 6, 8, 9, 12, 12, 15, 16, 22, 24, 31, 33, 44, 66, 68, 71, 72, 73, 74, 81, 84, 87, 92, 93, 94, 96, 98, 99
With the code listed above this is what the out put is:
4, 6, 9, 8, 12, 12, 15, 16, 22, 24, 33, 31, 44, 68, 66, 71, 72, 73, 84, 74, 87, 81, 92, 93, 6, 94
As you can see there is a small problem, I would appreciate another set of eyes on it to help me see the mistake, ALSO!!!!! I know that it would be easier to use copy.array and sort it but, I cannot use any Array Methods with this. I will also upload the .zip with the project in it if you want to see how it acts.
Any Help Would Be Appreciated, Again Sorry for the confusion.
Sarge