© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
V. SarcarIntroducing Functional Programming Using C#https://doi.org/10.1007/978-1-4842-9697-4_8

8. Exception Handling

Vaskaran Sarcar1  
(1)
Kuntala Furniture, Kolkata, West Bengal, India
 

When you write code for an application, you expect that it will execute per your plan, but sometimes you encounter sudden surprises. These surprises may occur because of some careless mistake such as you implementing the wrong logic, you ignoring some loopholes in the code paths of the program, etc. However, many software failures are beyond the control of a programmer. Developers often call these unwanted situations exceptions, and handling them is essential when you create ...

Get Introducing Functional Programming Using C#: Leveraging a New Perspective for OOP Developers 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.