I just want to know the default value of this property. I thought it was false, but it seems to be true.
I spent 5 min to look for this question and it perhaps make someone not loosing this time in the futur...
Answer from msdn The default is true:
http://msdn.microsoft.com/en-us/library/system.timers.timer.autoreset%28v=vs.110%29.aspx
Answer from Reflector default value = true:
public Timer(double interval) : this()
{
...
}
public Timer()
{
this.interval = 100.0;
this.enabled = false;
//HERE!!!!
this.autoReset = true;
this.initializing = false;
this.delayedEnable = false;
this.callback = new TimerCallback(this.MyTimerCallback);
}
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments