Peace
0
Q:

for loop vb.net

For counter [ As datatype ] = start To end [ Step step ]
    [ statements ]
    [ Continue For ]
    [ statements ]
    [ Exit For ]
    [ statements ]
Next [ counter ]
1
For a = 10 To 20 Step 2
          Console.WriteLine("value of a: {0}", a)
Next
0
For index As Integer = 1 To 5
    Debug.Write(index.ToString & " ")
Next
Debug.WriteLine("")
' Output: 1 2 3 4 5
0

New to Communities?

Join the community