For loop with step : For « Language Basics « VB.Net
- VB.Net
- Language Basics
- For
For loop with step

Imports System
Public Class MainClass
Shared Sub Main()
'Perform a loop
For intCount As Integer = 4 To 62 Step 7
'Add the item to the list
System.Console.WriteLine(intCount)
Next
End Sub
End Class
Related examples in the same category