title: Crawling a directory
body: <p>I have this test path:</p>
  
  <pre><code>private static string dCrawler = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "TestLetters";
  </code></pre>
  
  <p>Is there a way to say:</p>
  
  <pre><code>foreach (item in dCrawler)
  {
       if (item.isFile)
       {
            // check file info date modified code
       } else
       {
            foreach (fileinfo file in ...
       }
  }
  </code></pre>
  
  <p>so far I have only found ways to check a file in a directory.  Is the only way to do it by having two separate loops one for files and one for folders?</p>