© Vaskaran Sarcar 2018
Vaskaran SarcarInteractive C#https://doi.org/10.1007/978-1-4842-3339-9_13

13. Exception Handling

Vaskaran Sarcar
(1)
560066 Bangalore, Karnataka, India
 

Discussions on Exception Handling

Teacher starts the discussion: In general, when we write code for an application, we have the expectation that it will always execute without any problem. But sometimes, we encounter sudden surprises when we execute those programs. These surprises may occur in various ways and through some careless mistakes (e.g., trying to implement the wrong logic, or ignoring some loopholes in the code paths of the program, etc.) However, it is also true that many of the failures are beyond the control of a programmer. We often call these unwanted situations ...

Get Interactive C#: Fundamentals, Core Concepts and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.