for loop in vb.net example Example: for loop in vb.net For a = 10 To 20 Step 2 Console.WriteLine("value of a: {0}", a) Next