Option Explicit Off
Module Explicit
Public Sub Main()
For ctr As Integer = 0 to 100
' Do something
result = cntr
Next
Console.WriteLine("The counter reached " & result & ".")
End Sub
End Module
The counter reached .