C#.NET FAQS | Exception Handling |
An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions. | |
| |
If a code in a try block causes an exception, control flow passes to immediate catch or finally block. | |
Yes, a finally block will always be executed irrespective of whether an exception has occured or not. | |
Finally block is mainly used to free resources used within the try block.(Ex: closing db connections, and file connection ...) | |
C#.NET FAQS | Exception Handling |
Interview Questions on Exception Handling
FAQS on Exception Handling
Posted by
Ramu