Possible Duplicate:
Does Dispose method still get called when Exception is thrown inside of Using statment?
I've got a number of using
blocks, when accessing a database. I was wondering - if an exception had to be thrown within the using block, would the necessary resources still be disposed, even though the end of the block is not reached? Or would I need to close them myself manually in the catch
block?