title: cannot implicitly convert type 'system.timespan' to double
body: <p>I have been trying to add a <code>timer</code> to my Code with the following <code>timespan</code> (hour, minutes, seconds). But cannot understand why I Keep having the following error: </p>
  
  <blockquote>
    <p><strong>Cannot implicitly convert type 'System.timespan' to double.</strong>  </p>
  </blockquote>
  
  <p>Here is my codes.</p>
  
  <pre><code>public static void Main(string[] args)
  {
      System.Timers.Timer MyTimer = new System.Timers.Timer();
      MyTimer.Elapsed += new ElapsedEventHandler(onTimedEvent);
      MyTimer.Interval = new TimeSpan(0,0,5000);
      MyTimer.Enabled = true;
  } 
  </code></pre>
  
  <p>The above would run without any Problem if I set <code>Mytimer</code> interval to a single value as follows.</p>
  
  <pre><code> Mytimer.Interval = 5000;
  </code></pre>