Tuesday, March 18, 2008
C# Using Keyword
Today a coworker and I were discussing what we dislike about the try catch finally block. Specifically we do not like that the scope in the try does not carry through to the finally block. This is especially egregious in methods where database access is handled. The using keyword helps address this issue. I have not used the using keyword enough to state how I feel about it.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment