Click here to Skip to main content
13,397,903 members (49,798 online)
Click here to Skip to main content
Alternatives
Add your own
alternative version

Stats

248.6K views
2.2K downloads
100 bookmarked
Posted 5 Feb 2011

Using Try... Catch..., Finally!

, 5 Feb 2011
This article describes multiple implementations of proper Try... Catch... Finally and Using... End Using blocks in your code.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sander Rossel
Software Developer (Senior)
Netherlands Netherlands
Sander Rossel is a professional developer since 2010 with working experience in .NET (VB and C#, WinForms, MVC, Web API, and Entity Framework), SQL Server, VSTS, JavaScript, Git, Jenkins, Oracle, and other technologies.
He has an interest in various technologies including, but not limited to, functional programming, NoSQL, software design, Continuous Integration, and software quality in general.

You can't miss his must read book Continuous Integration, Delivery, and Deployment!

He also wrote the +/- 100 page eBooks Object-Oriented Programming in C# Succinctly and SQL Server for C# Developers Succinctly.

And he wrote a JavaScript LINQ library, arrgh.js (works in IE8+, Edge, Firefox, Chrome, and probably everything else).

Check out his prize-winning articles here on CodeProject as well!

Pro
Pro
| | Privacy | Terms of Use | Mobile
Web01 | 2.8.180216.1 | Last Updated 5 Feb 2011
Article Copyright 2011 by Sander Rossel
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid