Exception Handling Statements
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Exception Handling Statements

C# provides built-in support for handling anomalous situations, known as exceptions, which may occur during the execution of your program. These exceptions are handled by code that is outside the normal flow of control. The try, throw, catch, and finally keywords implement exception handling.

The following exception handling topics are explained in this section:

See Also

C# Keywords | Statements | 8.10 The try statement

© 2016 Microsoft