What's the most efficient way to call a method every 20 seconds

Posted by Poss on Stack Overflow See other posts from Stack Overflow or by Poss
Published on 2010-05-24T14:42:11Z Indexed on 2010/05/24 14:51 UTC
Read the original article Hit count: 170

Filed under:
|

I would like to call a method passing a parameter every 20 seconds, e.g. public void ProcessPerson(IPerson person)

I’ve been reading through the different Timer options and was wondering if anybody could recommend the most efficient way to do this?

Thank you for your help.

© Stack Overflow or respective owner

Related posts about c#

Related posts about c#4.0