C# Help with OR checking both sides
<p>This should be an easy question hopefully but as a rookie I don't know the answer.</p>

<p>In the code below if ignorePath is true I don't want to enter the if statement even if tempPath is not null and tempPath length is not 0. I thought a single | would do this but it appears not to.</p>

<pre><code>if (((tempPath != null) &amp;&amp; (tempPath.Length != 0)) | ignorePath == false)
{

}
</code></pre>

<p>Thanks</p>
