Types of Timers

Discussion in 'C#' started by go4expert, Jun 4, 2007.

  1. go4expert

    go4expert Moderator

    Joined:
    Aug 3, 2004
    Messages:
    306
    Likes Received:
    9
    Trophy Points:
    0
    Why do we have 3 types of timers in C#?

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

    gazzzzzzer New Member

    Joined:
    Mar 8, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Technical Analyst
    Location:
    UK
    Home Page:
    http://garystearn.co.uk
    The timers that are in the .Net framework map those available in the Windows opperating System.

    Be aware that there are someimportant differences with the timers that should be taken into account to ensure your program works correctly.

    It is well worth taking the time to read and understand more about the timers, as this will save you a lot of debugging and unexpected results from your code.


    More information can be found on the following microsoft website.
    http://msdn2.microsoft.com/en-us/magazine/cc164015.aspx
     
  3. meraj_niit786

    meraj_niit786 New Member

    Joined:
    Mar 9, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    New Delhi
    :) Please go Through this ...

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice