Click here to Skip to main content
13,552,729 members
Click here to Skip to main content
Alternatives
Add your own
alternative version

Stats

257.4K views
2.2K downloads
101 bookmarked
Posted 5 Feb 2011
Licenced CPOL

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 and .NET Core (C#, ASP.NET, and Entity Framework), SQL Server, Azure, Visual Studio Team Services, JavaScript, and other technologies.
He has an interest in various technologies including, but not limited to, Functional Programming, NoSQL, Cloud, 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.180515.1 | Last Updated 5 Feb 2011
Article Copyright 2011 by Sander Rossel
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid