Aside from using a timer in c#
<p>I'm trying to write a program that keeps executing a method without having to use a timer. For example, I want to have a program that shows a list of currently running processes. Obviously, it's constantly changing. I don't want to use a timer that gets the list of processes every second and adds them to the list, because it doesn't look very elegant to me. Is there any special way to do that? How can I make a service that would make this happen?</p>
