title: Are resources disposed even if an exception is thrown in a using block?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/518352/does-dispose-method-still-get-called-when-exception-is-thrown-inside-of-using-st">Does Dispose method still get called when Exception is thrown inside of Using statment?</a>  </p>
  </blockquote>
  
  
  
  <p>I've got a number of <code>using</code> 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 <code>catch</code> block?</p>