Using Do/Loop Until repetition structure : Do Loop Until « Statements « VB.Net Tutorial






Module Tester

   Sub Main()
      Dim counter As Integer = 1

      Do
         Console.Write(counter & " ")
         counter += 1
      Loop Until counter > 5

   End Sub 

End Module
1 2 3 4 5 "








4.9.Do Loop Until
4.9.1.Using Do/Loop Until repetition structure