title: adding booleans (as integer)
body: <p>I wrote a code in AS3 which allowed me to check if a particular number of things were true...</p>
  
  <pre><code>If (true + false + true + true + false + true + true &lt; 4)
  {
  
  }
  </code></pre>
  
  <p>When i tried rewriting in C#, it tells me i cannot add type bool and bool. Is the best way of doing this to rewrite it like this? Or is there some simpler work around?</p>
  
  <pre><code>If ((true?1:0) + (false?1:0) + (true?1:0) + (true?1:0) + (false?1:0) + (true?1:0) + (true?1:0) &lt; 4)
  {
  
  }
  </code></pre>