Imports System
Public Class MainClass
Shared Sub Main()
'Count from 1 to 10
For intCount As Integer = 1 To 10
System.Console.WriteLine(intCount)
Next
'Count backwards from 10 to 1
For intCount As Integer = 10 To 1 Step -1
System.Console.WriteLine(intCount)
Next
End Sub
End Class