Lecture overview -- Keyboard shortcut: 'u'  Previous page: The try-catch statement C# -- Keyboard shortcut: 'p'  Next page: The hierarchy of exceptions in C# -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 18 : 30
Object-oriented Programming in C#
Exception Handling
Handling exceptions in C#

A C# program with a handled exception

/user/normark/oop-csharp-1/sources/c-sharp/exception/handled-exception/prog.csA C# program with a handled exception. This program is explained


/user/normark/oop-csharp-1/sources/c-sharp/exception/handled-exception/outputOutput from the C# program with a handled exception.


Go to exerciseExceptions in Convert.ToDouble
The program handles the exception and brings the program execution back on track