From: alfa on
I have set pause to microsecund. I have Microsoft Development Environment
2002 (ver.7.0.9466) and .NET Framework 1.0 (ver 1.0.3705) and
Stopwatch stopWatch = new Stopwatch(); don't work

How can I do it.


From: Alexey Smirnov on
On Jan 26, 10:56 pm, "alfa" <a...(a)alfa.hr> wrote:
> I have set pause to microsecund. I have Microsoft Development Environment
> 2002 (ver.7.0.9466) and .NET Framework 1.0 (ver 1.0.3705) and
> Stopwatch stopWatch = new Stopwatch(); don't work
>
> How can I do it.

Use Threading.Thread.Sleep

Imports System.Threading

Class Example

Shared Sub Main()

For i As Integer = 0 To 4
Console.WriteLine("Sleep for 2 seconds.")
Thread.Sleep(2000)
Next

Console.WriteLine("Main thread exits.")
End Sub
End Class

http://msdn.microsoft.com/en-us/library/d00bd51t.aspx

Hope this helps