pause in microsecund

A

alfa

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,123
Latest member
Layne6498
Top