GetFiles using path and pattern while ignoring a certain file name in C#
<p>I am trying to get all the .cs files in a certain path. I am doing this using </p>

<pre><code>string [] files = Directory.GetFiles(path, pattern);
</code></pre>

<p>Where path is a valid folder path and pattern is *.cs. However this also returns AssemblyInfo.cs and i dont want that file to be included although it matches the pattern. I want to ignore all the files with the name AssemblyInfo.cs</p>
