title: byte + byte = unknown result
body: <p>Good day SO! I was trying to add two byte variables and noticed weird result. </p>
  
  <pre><code>byte valueA = 255;
  byte valueB = 1;
  byte valueC = (byte)(valueA + valueB);
  
  Console.WriteLine("{0} + {1} = {2}", valueA.ToString(), 
                                       valueB.ToString(), 
                                       valueC.ToString());
  </code></pre>
  
  <p>when i tried to run the program, It displays</p>
  
  <pre><code>255 + 1 = 0
  </code></pre>
  
  <p>What happened to the above code? Why doesn't the compiler throws an <code>OverflowException</code>? How can I possibly catch the exception? I'm a VB guy and slowly migrating to C# :) Sorry for the question.</p>