There's a difference between starting a Timer
like this:
_timerExam = new Timer();
_timerExam.Elapsed += new ElapsedEventHandler(OnTimedEvent);
_timerExam.Interval = 1000;
_timerExam.Start();
And so?
_timerExam = new Timer();
_timerExam.Elapsed += OnTimedEvent;
_timerExam.Interval = 1000;
_timerExam.Start();
For what is ElapsedEventHandler
?