Perform a event certain so many times every so many seconds
<p>I am currently working on a c# project where I need to perform a task so many times every so many seconds. </p>

<p>For example, write to the console 5 times every 1 second. How could I go about doing this. </p>

<p>Thanks for any help you can provide. </p>
