Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
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
Comments
Sergey Alexandrovich Kryukov 26-Feb-13 0:18am    
What are you trying to achieve, I wonder?
—SA
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...
—SA

1 solution

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900