Timer Constructor ()
Initializes a new instance of the Timer class, and sets all the properties to their initial values.
Assembly: System (in System.dll)
The following example instantiates a Timer object that fires its Timer.Elapsed event every two seconds (2000 milliseconds), sets up an event handler for the event, and starts the timer. The event handler displays the value of the ElapsedEventArgs.SignalTime property each time it is raised.
Available since 1.1