Click here to Skip to main content
12,502,578 members (57,452 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
i don't wanna use system.timers.timer to note the particular event,is there any substitute/alternative of timers in new version of c#?

thanks in advance
Posted 25-Feb-13 18:10pm
What are you trying to achieve, I wonder?
nav08 26-Feb-13 3:53am
iam making a window service which will keep the records of the particular event,like for example recording the time after specific interval.
Sergey Alexandrovich Kryukov 26-Feb-13 12:00pm
Not quite clear, but if some of your events are defined only by time, this event type should be just fine for you. If you need to keep a record of some already fired event, you need to handle this very event...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Of course: threading. It all depends on what you are trying to achieve. In many cases, threading is much better than timers. As to the timers, there are at least four different timer classes on .NET FCL.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.160919.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100