Posted: 3 Jun 2011
Updated: 5 Jun 2011
Licence: The Code Project Open License (CPOL)
Not really, because what if your finally block would contain more lines of code than the single line you have in your example? That would make it already much harder to read.Secondly, you are misusing the Dispose method. You shouldn't invoke anything in it, especially not the Action, you...