title: Invert 1 bit in C#
body: <p>I have 1 bit in a <code>byte</code> (always in the lowest order position) that I'd like to invert.
  ie given 00000001 I'd like to get 00000000 and with 00000000 I'd like 00000001.</p>
  
  <p>I solved it like this:</p>
  
  <pre><code>bit &gt; 0 ? 0 : 1;
  </code></pre>
  
  <p>I'm curious to see how else it could be done.</p>