title: How to get all the files older than N minutes?
body: <p>I have to get all the files older than 2 minutes from a directory.</p>
  
  <pre><code>string sDir ="C:\\Test";
  string[] files;
  files = Directory.GetFiles(sDir, @"*.xml", SearchOption.TopDirectoryOnly);
  </code></pre>
  
  <p>I can loop through the files array and get the File attribute to get the File Creation Time.</p>
  
  <pre><code>    FileInfo fi = new FileInfo(files);
  </code></pre>
  
  <p>But I would like to do the filtering at the <code>GetFiles</code> level.</p>