For/Next

VbNet · Console

/Program.vb

Option Strict On
Imports System
Public Module Module1
	Public Sub Main()
		For x As Integer = 1 To 10
			Console.WriteLine("X: " & x)
		Next
	End Sub
End Module
;