Dim ints() As Integer = New Integer() {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} MessageBox.Show(Array.IndexOf(ints, 7))