Imports System
publicclass MainClass
Shared Sub Main()
Dim counterVariable As Integer = 0
repeat: ' the label
Console.WriteLine("counterVariable: {0}", counterVariable)
' increment the counter
counterVariable += 1
If counterVariable < 10 Then
GoTo repeat ' the dastardly deed
End If
End Sub
End Class