title: Exclude a file extension in System.IO.Directory.GetFiles()
body: <p>Is there a way to get a file count in a folder, but I want to <strong>exclude</strong> files with extension jpg?</p>
  
  <pre><code>Directory.GetFiles("c:\\Temp\\").Count();
  </code></pre>