Join Gerry O'Brien for an in-depth discussion in this video Catching errors with try-catch-finally, part of Learning C#.
As we go back and look at this history of software…development and bring it all the way up to modern day, there's…never been an instance where an application has been deployed and has…not generated an issue or an error at some point in time.…It's just the way programming functions.…As developers we need to understand that and we need…to accept the fact that we can test our applications…as much as we want to, but as soon as you put it in the hands of the end user.…They're going to do something with the application that you had never intended…and chances are it's going to cause some kind of an application error.…
One of the things that we want to avoid is an application that crashes…because we haven't anticipated or handled some…kind of an error in the application code.…The .NET framework in C# allow us to deal with error…handling in our application through a…concept known as, structured exception handling.…Structured exception handling is a concept that focuses…on going through the application, wrapping code within protective…
- Installing C#
- Working with loops
- Controlling program flow
- Using variables
- Building functions
- Creating and instantiating classes
- Catching errors
- Managing resources with the garbage collector
- Building collections
Skill Level Beginner
1. Introducing C#
2. C# Language Elements
3. Object-Oriented Programming in C#
4. Structured Exception Handling
5. Resource Management in C#
6. Extensible Types in C#
7. Windows Apps in C#
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.