13
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?

1
  • 3
    1000. It will start from the beginning
    – Donatas K.
    Commented Mar 25, 2013 at 14:12

1 Answer 1

19

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()

Not the answer you're looking for? Browse other questions tagged or ask your own question.