title: How are byte values obtained (XOR Example)
body: <p>I have been reading this page <a href="http://msdn.microsoft.com/en-us/library/zkacc7k1.aspx" rel="nofollow noreferrer">here</a> from MSDN regarding the XOR operator and its usage.</p>
  <p>Half way down the page I read the following code:</p>
  <pre><code>// Bitwise exclusive-OR of 10 (2) and 11 (3) returns 01 (1).
              Console.WriteLine(&quot;Bitwise result: {0}&quot;, Convert.ToString(0x2 ^ 0x3, 2));
  </code></pre>
  <p>Now, I cannot figure out for the life of me how 10 equates to 2, or how 11 equates to 3. Would anyone mind explaining this in simple terms so that I can clearly understand the concept here?</p>
  <p>Thank you,</p>
  <p>Evan</p>