title: Does creating a thread with a while(true) loop better than using a timer in C#?
body: <p>I know that c# allows to use a timer using:</p>
  
  <pre><code>System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();
  timer.Interval = 1000/60;
  timer.Tick += new EventHandler(TimerEventProcessor);
  timer.Start();
  
  
  private static void TimerEventProcessor(Object myObject, EventArgs myEventArgs)
  {
      //Do something
  }
  </code></pre>
  
  <p>But, I have seen in <a href="http://www.youtube.com/watch?v=gqp1z8KbG6E" rel="nofollow">this YouTube tutorial</a> that instead of using <code>Timer</code> they created a thread that implements a timer of its own:</p>
  
  <pre><code>var task = new Task(Run());
  task.start();
  
  protected void run ()
  {
      while (true)
      {
          Thread.sleep(1000/60);
          //Do something
      }
  }
  </code></pre>
  
  <p>Are there any benefits to using the second way over the simpler <code>Timer</code>?</p>