Module Module1
Sub Main()
' Create new List of 5 Integers.
Dim ids = New List(Of Integer)({100, 101, 120, 121, 123})
' Enumerate all IDs.
For Each id In ids
Console.WriteLine($
"FOR EACH, CURRENT ID = {id}")
Next
End Sub
End Module
FOR EACH, CURRENT ID = 100
FOR EACH, CURRENT ID = 101
FOR EACH, CURRENT ID = 120
FOR EACH, CURRENT ID = 121
FOR EACH, CURRENT ID = 123