Friday, May 29, 2009

C# 3.5 Try-Catch-Finally

Will a 'Finally' block be executed if a return statement is called in a Try-Catch?

Yes, the 'Finally' block is always executed, even if a goto, or return statement is called.

No comments:

Post a Comment