C# if (strValue == "FALSE" | strValue == "TRUE")
<p>I have a string that contains a value of either TRUE or FALSE or null, this value is read from a text file which is outside of my control. What is the best way to use '|' with 'if'? Keeping in mind strValue could also be null, if strValue is null then I don't want to enter the if statement.</p>

<pre><code>if (strValue == "FALSE" | strValue == "TRUE")
{
  //do stuff
}
</code></pre>

<p>Thanks</p>
