What is the difference between
checked(a + b)
and
unchecked(a + b)
?
if a + b is larger than the maximum value of the datatype, checked will throw an exception. Unchecked will roll the overflow of the value and add it to zero.