title: Incrementing bit by bit in byte array (C#)
body: <p>I have a byte array of two bytes, which I'm using as a counter. I need to increment it bit by bit, as in:</p>
  
  <pre><code>0000 0000 0000 0000
  0000 0000 0000 0001
  0000 0000 0000 0010
  0000 0000 0000 0011
  .
  .
  .
  0000 0000 1111 1111
  0000 0001 1111 1111
  0000 0010 1111 1111
  0000 0011 1111 1111
  </code></pre>
  
  <p>What's the cleanest way of doing this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Sorry for the super stupid question, I was looking at it the wrong way. Should anyone come across the same stupid question in the future: as mentioned in the comments, the easier way to do this is incrementing an Int16.</p>