title: Want to list all Image Files in a folder using C#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3527203/getfiles-with-multiple-extentions">GetFiles with multiple extentions</a>  </p>
  </blockquote>
  
  
  
  <p>is there a function like GetFiles that takes more then 1 file type like</p>
  
  <pre><code>DirectoryInfo di = new DirectoryInfo("c:/inetpub/wwwroot/demos");
  FileInfo[] rgFiles = di.GetFiles("*.bmp, *.jpg, etc");
  </code></pre>