public static void Main() { Timer timer= new Timer(); timer.Interval = 100; timer.Elapsed += new ElapsedEventHandler(Tick); timer.Start(); Console.ReadLine(); timer.Stop(); Console.ReadLine(); timer.Start(); Console.ReadLine(); timer.Dispose(); } static void Tick(object sender, ElapsedEventArgs e) { Console.WriteLine("Tick..."); }