Very puzzled about timers, they don't seem to be working correctly.
I've created a timer like this:
this._catTimer = new Timer(state => this.catTimer_Tick(null, new EventArgs()), null, 0, Timeout.Infinite);
It ticks once immediately. At the end of the callback I have this:
this._catTimer.Change(5000, Timeout.Infinite);
But my timer never ticks again. This line is reached.
I've tried it with 5000, 0 too but it never ticks again. Any ideas?