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