foreach in vb.net code example
Example 1: vb for each
Dim lst As New List(Of String) _
From {"abc", "def", "ghi"}
' Iterate through the list.
For Each item As String In lst
Debug.Write(item & " ")
Next
Debug.WriteLine("")
Example 2: vb.net foreach
For Each number As Integer In numberSeq
Next