Why are there five timer classes in the .Net framework, namely the following:
System.Timers.Timer
System.Threading.Timer
System.Windows.Forms.Timer
System.Web.UI.Timer
System.Windows.Threading.DispatcherTimer
Why are there several versions of the Timer class? And what are the differences between them?
System.Windows.Forms.Timer
andSystem.Web.UI.Timer
(and alsoSystem.Windows.Threading.DispatcherTimer
, but it has a different name...)