Is the Elapsed event of System.Timers.Timer effectively the same as the Tick event of System.Windows.Forms.Timer?
In specific circumstances are there advantages of using one rather than the other?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check these links here and here for complete understanding of timers in .Net framework.
There are three types of timers.
I personally prefers
System.Timers.Timeras it’s thread-safe.