What would be printed from the following VB.NET program?
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim list() As Integer = New Integer() {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
Dim i As Integer
For i = 0 To 4
'switching elements
Dim temp As Integer = list(i)
list(i) = list(9 - i)
list(9 - i) = temp
Next
For i = 0 To 9 'output list
ListBox1.Items.Add("{0}" & list(i) & vbTab)
Next
End Sub