.NET Samples - How To: Timer
This section includes the following sample:
Timer Sample
Timer Sample
This sample illustrates how to use a Timer to raise an event every 1000 milliseconds.
Link to the online sample documentation
Link to the online sample source code
Namespaces used in this sample:
System; System.Timers; System.Threading
Classes used in this sample:
Timer; Console; Object; EventHandler; ElapsedEventArgs; ElapsedEventHandler; Thread; String; EventArgs