| ||Exception Handling - slide 17 : 30|
The try-catch statement C#
The try-catch statement allows us handle certain exceptions instead of stopping the program
catch (exception-type-1 name)
catch (exception-type-2 name)
- Program fragments that may lead to potential exceptions
- Program fragments that may handle the exceptions
- In catch-block-1, catch-block-2, ...