Public Class Form1 Dim numeros(9) As Integer Dim posicion As Integer Dim recorido 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 estn 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