This code:
Module VBModule
Dim intInteger as Integer = 0
Sub Main()
For intInteger = 0 To 4
Console.Writeline("The current integer is: " & intInteger)
Next
Console.Writeline("This is outside the For-Next Loop")
End Sub
End Module
Will produce this:
So it will do the For-Next loop first, then after it has finished, will run the proceeding code.
While that is Vb.Net, since code is sequential, that is, every thing occurs in the order it is fed sequentially, a computer will follow instructions in the order it has been written. A For-Next Loop will repeat until the loop condition is met, then carry out the following code.
This is why when you make a While loop and cause an infinity loop, the game crashes. Because it cannot end it, uses up resources trying to and fails to execute any latter code before hanging.