I'm just got into Visual Basic and I'm trying to "recode" my programs from java into VB. But my main problem is how to do that, i don't the syntax too much. I have read some but I find it hard(I'm a slow learner :P).
Edit: Here is the code I am trying:
Module Module1
Dim arrays(5) As String
Sub Main()
Console.WriteLine("Enter your Names:")
For i As Integer = 0 To arrays.Length
arrays(i) = Console.ReadLine
Next i
For Each arr As String In arrays
Console.WriteLine(arr)
Next
Console.ReadLine()
End Sub
End Module
At some point, whenever I run it and try to input, it goes beyond the number of index. And doesn't write the inputs :P