Sergey Kozak
0
Q:

for loop in 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

New to Communities?

Join the community