Microsoft .NET Technologies Interview Questions and Answers

 

Will it go to finally block if there is no exception happened?

Ans: Yes. The finally block is useful for cleaning up any resources allocated in
the try block. Control is always passed to the finally block regardless of how the
try block exits.

Posted by:Richards