title: How to Call A Method after certain time has passed in C#
body: <p>I'm trying to call an method in this if statement after a certain time (15 seconds) has ended, but it doesn't seem to work at all not print out the text in the method. How would I go about doing this, I have tried researching on how the stopwatch works but it doesn't seem to be working. Thank your for your help.</p>
  
  <p><em>I have tried this code</em></p>
  
  <pre><code>    Stopwatch watch = Stopwatch.StartNew();
  
      if (watch.Elapsed.TotalMilliseconds == 15)
      {
         Method();
      }
  </code></pre>