Chapter 43. System.Timers
The System.Timers
namespace provides the
Timer
class, which periodically raises
an Elapsed
event.
It is a server-based component designed to be used in a
multithreaded environment, and is thus more accurate than many other
Windows-based timers. Unlike System.Windows.Forms.Timer
,
a server-based timer is not dependent on a user interface message pump.
Figure 43-1 shows the
class diagram for this namespace.
Figure 43-1. The System.Timers namespace
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.