Answers for "wait 30 seconds c#"

C#
1

c# wait seconds

//wait 2 seconds
Thread.Sleep(2000);
Task.Delay(2000);

//Both are valid options but Task.Delay() can be used with the async keyword
Posted by: Guest on December-08-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