0
How to Delay Output time in C#?
What's the code that let us delay printing output for some seconds?
3 Answers
+ 3
Learned from https://cheeze.club/zs5j
using System;
using System.Threading;
class Example
{
static void Main()
{
Thread.Sleep(2000);
Console.WriteLine("something");
}
}
+ 2
Thank you
+ 2
using System.Threading;
Thread.Sleep(100); //time in milliseconds