Blog 09 – Week 12

This week we covered exceptions and more on Linq.

Exceptions can be utilized with the ‘try’, ‘catch’ and ‘finally’ in order to handle potential errors and keep a program running.
‘try’ will execute as any other piece of code but will, in the case of an exception, execute any code in the ‘catch’ block, then the optional ‘finally’ block will run, even if there was no exception.

00