Answers for "add 5 minutes delay in c#"

C#
1

C# 1 minute delay

DateTime now = DateTime.Now;
while (DateTime.Now.Subtract(now).Seconds < 60)
{
        // wait for 60 seconds
}
// 60 seconds passed, continue
Posted by: Guest on November-11-2020
0

c# timer 30 seconds

this.timer1.Interval = 30000; //30 seconds
Posted by: Guest on January-18-2021

C# Answers by Framework

Browse Popular Code Answers by Language