I have a loop from 1 to 20
I want to go through the loop only from 6 to 14
For i As Integer = 0 To 19
If i > 6 Or i >= 14 Then
Writeline("My Name:")
End If
Next
This code works:
If i > 6 AndAlso i <= 14 Then Writeline "My Name:"
Above code wont work
For i As Integer = 6 To 14. It doesn't have to start at zero.