Horje

LOOP trough items in list - Lists - Visual Basic .NET
Learn
Visual Basic .NET - Lists - Loop trough items in list
Loop trough items in list
Dim aList as New List(Of String)
aList.Add("one")
aList.Add("two")
aList.Add("three")

For Each str As String in aList
    System.Console.WriteLine(str)
Next

Produces the following output:

one
two
three

Another option, would be to loop through using the index of each element:

Dim aList as New List(Of String)
aList.Add("one")
aList.Add("two")
aList.Add("three")

For i = 0 to aList.Count - 1 'We use "- 1" because a list uses 0 based indexing.
    System.Console.WriteLine(aList(i))
Next

Read Article
https://develop.horje.com/learn/1434/reference