foor loop syntax vb.net code example
Example 1: for loop in vb.net
For a = 10 To 20 Step 2
Console.WriteLine("value of a: {0}", a)
Next
Example 2: for loop vb.net
For counter [ As datatype ] = start To end [ Step step ]
[ statements ]
[ Continue For ]
[ statements ]
[ Exit For ]
[ statements ]
Next [ counter ]