I'm making a one-dimensional array of size N (this value is entered by the user in a textbox) in Visual Basic.net. Now I want to enter the numbers to the arrangement but I can not find anywhere to do it from a textbox or a window appears and go asking for the numbers according to the size that was assigned to the arrangement.
Can someone give me an example of how to enter the values and store them and then do an operation with them?
This is the only thing I found on the internet on the subject, I applied it to what I need but it does not work:
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles
Button2.Click
Dim N As Integer
Dim V(N)
Dim i As Integer
Console.WriteLine("Ingrese los valores para V")
For i = 0 To V.Length
V(i) = Console.ReadLine
Next i
End Sub