Imports System
Imports System.Threading
Public Class Program
Public Shared Sub Main()
Try
Console.WriteLine("Counting...")
Thread.Sleep(CType(TimeSpan.FromSeconds(3).TotalMilliseconds, Integer))
Console.WriteLine("Lift Off")
Catch e As Exception
Console.WriteLine(e.ToString())
End Try
End Sub
End Class
' run:
'
' Counting...
' Lift Off
'