Blog Stats
  • Posts - 157
  • Articles - 0
  • Comments - 90
  • Trackbacks - 19

 

Which of the 3 timer types in the BCL do you need?

In case that you need a timer you can choose between 3 types in the Base Class Library:

  1. System.Timers.Timer
  2. System.Threading.Timer
  3. System.Windows.Forms.Timer

Which timer you should use to solve your problem depends on the problem you are trying to solve. I have found an article on the MSDN Magazine of February 2004 written by Alex Calvo which compares the 3 timers and outlines when to use which timer:

http://msdn.microsoft.com/msdnmag/issues/04/02/TimersinNET/default.aspx


Cross-posted from The .NET Aficionado
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

 

 

Copyright © Gabriel Lozano-Morán