title: Nested foreach loops to add DirectoryInfo.GetDirectories and GetFiles to an array?
body: <p>How would I iterate through each folder in a specific file path and then for each of those folders found iterate through each of their files?</p>
  
  <pre><code>        DirectoryInfo dir = new DirectoryInfo(@"C:\Path");
  
          foreach (DirectoryInfo folders in dir.GetDirectories())
  
          foreach (DirectoryInfo files in folders.GetFiles())
  </code></pre>