Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to delay execution in c#

int sleepTime = 1000; // in mills
Task.Delay(sleepTime).Wait();
// or
Thread.Sleep(sleepTime);
 
PREVIOUS NEXT
Tagged: #delay #execution
ADD COMMENT
Topic
Name
5+4 =