C# Checked and Unchecked Exceptions - What are checked exceptions in C# ?
C# Checked Exceptions - What are checked exceptions in C# ?
- C# provides checked and unchecked keyword to handle integral type exceptions.
- Respectively checked and unchecked keywords specify checked context and unchecked context.
- In checked context, arithmetic overflow raises an exception whereas, in an unchecked context, arithmetic overflow is ignored and result is truncated.