Do While Loop : Do While « Language Basics « VB.Net
- VB.Net
- Language Basics
- Do While
Do While Loop

Imports System
public class MainClass
Shared Sub Main()
Dim counterVariable As Integer = 0
Do While counterVariable < 10
Console.WriteLine("counterVariable: {0}", counterVariable)
counterVariable = counterVariable + 1
Loop
End Sub
End Class
Related examples in the same category