Exclude certain file extensions when get files from a directory
<p>How to <strong>exclude</strong> certain file type when getting files from a directory?</p>

<p>I tried </p>

<pre><code>var files = Directory.GetFiles(jobDir);
</code></pre>

<p>But it seems that this function can only choose the file types you want to include, not exclude. </p>
