c# thread.sleep 1 minute code example
Example: C# 1 minute delay
DateTime now = DateTime.Now;
while (DateTime.Now.Subtract(now).Seconds < 60)
{
// wait for 60 seconds
}
// 60 seconds passed, continue
DateTime now = DateTime.Now;
while (DateTime.Now.Subtract(now).Seconds < 60)
{
// wait for 60 seconds
}
// 60 seconds passed, continue