VB_004_ForNext1



Module Module1

    Sub Main()

        For index = 1 To 10
            
             If index = 7 Then
                Console.WriteLine("Seven Found")
                Exit For

            End If
            Console.WriteLine(index)

        Next
        Console.ReadLine()

    End Sub

End Module

Comments

Popular posts from this blog

VB_0002_Variable3