Back to my "Using" in C#

10 12 2004

Someone else (Jano) has posted a reason for using Using.  The fact that if you end up with an exception within the block, it still disposes of the item.  Couldn’t I just dispose of it in my catch?


Actions

Information

Leave a comment

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