title: How do I create a delay between SendKeys.Send C#
body: <p>Obviously this doesn't work correctly. I want to use C# and not AutoIt. What could make this work better?</p>
  
  <pre><code>{
       Process.Start("iexplore.exe");
       System.Threading.Thread.Sleep(1000);
       SendKeys.Send("{F6}" + "http://google.com/" + "{Enter}");
       System.Threading.Thread.Sleep(1000);
  
       int counter = 1;
       while ( counter &lt;= 10 )
       SendKeys.Send("{RIGHT}" + "{SUBTRACT}");
       counter = counter + 1;
  }
  </code></pre>