Exception handling allows dotNET framework applications to handle and recover from all types of errors during runtime. Exception handling can be implemented with try-catch-finally blocks in .NET applications. The try block includes code to is likely to throw an exception while the catch block handles specific exceptions. The “finally” block is optional and mainly used to mark code that must execute to the end regardless of an exception error.