title: C# how to implement a loop with time step
body: <p>I need to implement a function that contains a loop of instructions that should run every .01 second is there a way to implement a loop(e.g for each time step) that can do that
  thanks in advance</p>