In VB.NET you can do:
vb Code:
  1. For Each var As String In MyStringCollection
  2.    'do stuff here
  3. Next
and MyStringCollection could be strongly typed list, e.g List(Of String)