fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim a as integer
  6.  
  7. For a = 1 To 6 step 1 ’ to make it count by 2’s use for a = 1 to 6 step 2
  8. Console.WriteLine(a)
  9. Next a
  10. Console.ReadLine()
  11. End Sub
  12. End Class
Success #stdin #stdout 0.03s 24112KB
stdin
Standard input is empty
stdout
1
2
3
4
5
6