C#: Need to check if file array is empty
<p>I am checking for files in two locations. If location 1 is empty, the code should check location 2.</p>

<p>The problem is that the "files == null" condition is never met.</p>

<p>I need a better way to check if the files array is empty.</p>

<p>Here is my code:</p>

<pre><code>files = Directory.GetFiles(fileTargetFolder);

if (files == null)  // if no files, check 2nd location
{
    files = Directory.GetFiles(fileTargetFolder2);
}
</code></pre>
