Public Class Form1 Dim Numeros(9) As Integer Dim Posicion As Integer Dim Recorrido As Integer Dim Texto As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Posicion <= 9 Then Numeros(Posicion) = Val(Numero.Text) Posicion = Posicion + 1 Numero.Clear() Else MsgBox("Los datos estan llenos") End If For i As Integer = 0 To Numeros.Length - 1 Texto &= Numeros(i).ToString() & vbCrLf Next Lista.Text = Texto End Sub End Class