title: C# How do I check if one of two values is TRUE?
body: <p>Should be a simple question for the C# experts here.</p>
  
  <p>I basically want to check if one value or another is TRUE, a wild stab at the code is below:</p>
  
  <pre><code>if ((Boolean.Parse(staff.getValue("Male")) | Boolean.Parse(staff.getValue("Female")))    
  {   
     // is true
  }
  </code></pre>
  
  <p>Is this correct?</p>
  
  <p>Thanks</p>