C# simple IF OR question
<p>Sorry to ask this as I thought I knew the answer, I want to exit the program if userName is greater than 4 characters or userName is not an account called student. However this even if the userName is only 3 characters and is not student I'm still hitting Application.Exit. What am I doing wrong?</p>

<pre><code>if (userName.Length &gt; 4 | userName != "student")
{
    Application.Exit();
}
</code></pre>

<p>Shame on me :-(</p>
