title: AND operation cannot be applied between nullable bools
body: <p>I am applying AND operation (<code>&amp;&amp;</code>) between two nullable boolean (<code>bool?</code>) but it is giving me error that</p>
  
  <blockquote>
    <p>Operator <code>&amp;&amp;</code> cannot be applied to operands of type <code>bool?</code> and <code>bool?</code></p>
  </blockquote>
  
  <p>How do i apply and operation in my statement that contains two nullable bools?</p>
  
  <p>Also if i have a dialog result like </p>
  
  <pre><code>dialog.ShowDialog () == DialogResult.OK
  </code></pre>
  
  <p>How can I convert it to nullable bool as i need to put '&amp;&amp;' operator with this in an if condition whose other operand returns a nullable bool?
  Here is code:</p>
  
  <pre><code>if (dialog.ShowDialog () == DialogResult.OK &amp;&amp; CheckProjectPath(dialog.FileName, true))
  </code></pre>
  
  <p>the second operand in this if condition is a nullable bool.</p>