title: Bool to bit in the C#
body: <p>We have two Boolean variables that I want to be like this:</p>
  <pre><code>b1      b2       bin  int
  true ,  true =   11   (3)
  false , true =   01   (2)
  true ,  false =  10   (1)
  false , false =  00   (0)
  </code></pre>