I have a code which when run, it executes series of lines in sequence. I would like to add a pause in between.
Currently, I have it like this
//do wo
You can replace
Thread.Sleep(X);
by
Task.WaitAll(Task.Delay(X));