“Overflow” (Solution)

Answer

1
Checked Int32 increased max: OverflowException
2
Checked Double increased max: 1,79769313486232E+308
3
Checked Decimal increased max: OverflowException
4
Unchecked Int32 increased max: -2147483607
5
Unchecked Double increased max: 1,79769313486232E+308
6
Unchecked Decimal increased max: OverflowException
Copied!
Overflow operations with sbyte, byte, short, ushort, int, uint, long, ulong, char throw OverflowException depending on checked/unchecked context (ECMA-334, 11.1.5).
Overflow operations with float, double never throw OverflowException (ECMA-334, 11.1.6).
Overflow operations with decimal always throw OverflowException (ECMA-334, 11.1.7).
Problem
Copy link