title: 10 minutes timer in C#
body: <p>I'm developing a C# Console Application and I need to add a timer that starts when I write "start" and automatically stops when have passed 10 minutes.
  How can I do this using only the "static void Main()"?</p>
  
  <p>I have this:</p>
  
  <pre><code>using System;
  using System.Timers;
  
  namespace myScript
  {
      class Program
      {
          static void Main()
          {
              string getInput = Console.ReadLine();
  
              if (getInput == "start")
              {
                  //start timer
              }
  
              if (//10 minutes have passed)
              {
                  //do something
              }
          }
      }
  }
  </code></pre>
  
  <p>Thank you!</p>