Exception Handling
Tweet(Next Up: Composite Datatypes)
Remember how annoying Java was with its exception handling? All that crap with 'throws' this and 'throws' that... Yuck! The great thing about C# is that you get all the benefits of Try/Catch without the annoying things that Java attaches to it.
As a developer you are going to encounter a situation that did not work out as you expected. This is where exception handling comes in. Now we can build into our code uncertainty. If a portion of code is not able to execute then we can build structures around it to find out why and run "back up" code when the bad things happen.
After watching this lesson you will realize how annoying Java actually is, and appreciate C# even more!
| Attachments | Size |
|---|---|
program...ing.pdf | 725.12 KB |