Can someone explain the outputs of below code?
using System;
public class Program
{
public static void Main()
{
byte b1 = 190;
byte b2 = 66;
var b3 = b1 + b2;
Console.WriteLine(b3);
b1 += b2;
Console.WriteLine(b1);
}
}
Output
256
0
Why does first additions gives 256, but the second one gives 0?