My question is about this code in programming in the C # console. I ask him with an example:
This code is not possible:
byte sum = (byte)(150 + 150);
but this code is possible:
byte sum = unchecked((byte)(150 + 150));
My question is: how does unchecked work? I mean, how unchecked to make this code possible?
source share