Click here to Skip to main content
11,578,954 members (66,474 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
hie,
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
nav08637
Comments
Sergey Alexandrovich Kryukov at 26-Feb-13 0:18am
   
What are you trying to achieve, I wonder?
—SA
nav08 at 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 at 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...
—SA

1 solution

Rate this: bad
good
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.

—SA
  Permalink  

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

  Print Answers RSS
0 Peter Leow 135
1 Frankie-C 115
2 OriginalGriff 113
3 Richard MacCutchan 85
4 Afzaal Ahmad Zeeshan 85
0 OriginalGriff 933
1 Sergey Alexandrovich Kryukov 740
2 Abhinav S 573
3 F-ES Sitecore 420
4 Dave Kreskowiak 419


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2015
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