0
How can I use Sleep in sandbox? Maybe it's impossible?
Sleep in sandbox for C#
1 Answer
0
Hello,
I think it is not possible. It seems that output window is show after application end... So, the Thread.Sleep is used but not visible for you.
This example works:
for (int i = 0; i < 10; i++)
{
Console.WriteLine(i);
Thread.Sleep(300);
}
but it work only on background and you will see only whole output after application finish.