using System.Timers;
var timer = new Timer();
timer.Interval = 1000;
timer.Start();
// Wait for 500
timer.Stop();
timer.Start();
Here will my interval have 500 left to run or 1000?
Short question, short answer. Your timer will start with a fresh interval of 1000ms after it has been stopped. See also MSDN: System.Timers.Timer.Stop()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With