When “Using” statement should apply

I stumbled upon this article written by Scott Hanselman which I am posting it here for my reference (or anyone which may need it). There’s a sample posted on his blog, having both “try and catch” and “using” functions used side by side.

Edit 04/07: If you’re happened to face issues with connection leak like I do, you might be interested with this Connection leak symptoms and ways to identify article. A very in-depth coverage on the ways to investigate and mitigate.

Written by admin on July 4th, 2012 with no comments.
Read more articles on Programming.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .