title: Read all files in directory sub folders
body: <p>I have a folder - "C:\scripts"</p>
  
  <p>Within "scripts" I have several sub folders e.g. - "C:\scripts\subfolder1" "C:\scripts\subfolder2" etc, that contain <code>html</code> files.</p>
  
  <p>I am trying to use the following code -</p>
  
  <pre><code> foreach (string file in Directory.EnumerateFiles(@"C:\scripts","*.html"))
          {
              string contents = File.ReadAllText(file);
          }
  </code></pre>
  
  <p>However this does not work due to the <code>html</code> files being in the sub folders.</p>
  
  <p>How can I access the html files in the sub folders without having to manually put in the path of each sub folder?</p>