+ 8
Waiting
is there a wait statement or something like that?
3 Respuestas
+ 15
There's Thread.Sleep(x), which pauses the console for x milliseconds. You have to write
Using System.Threading;
at the top of your code to use it.
It doesn't work on the Code Playground, but it will on a computer.
+ 6
There is
Thread.Sleep(Int32)
and for async task.
await Task.Delay(Int32)
+ 4
Check out Thread.Sleep():
https://msdn.microsoft.com/en-us/library/system.threading.thread.sleep(v=vs.110).aspx