title: Hidden folders C#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2418270/c-get-a-list-of-files-excluding-those-that-are-hidden">C# - Get a list of files excluding those that are hidden</a>  </p>
  </blockquote>
  
  
  
  <p>How do i make sure that i only get the folders that are NOT hidden?</p>
  
  <p>this is what i do know but it returns all folders.</p>
  
  <pre><code>string[] folders = Directory.GetDirectories(path);
  </code></pre>