Actual use of finally block

Posted by Jibu P C_Adoor on Stack Overflow See other posts from Stack Overflow or by Jibu P C_Adoor
Published on 2010-05-20T07:41:33Z Indexed on 2010/05/20 7:50 UTC
Read the original article Hit count: 178

Filed under:

I asked to my friend about this question, he said that it is used for destroying the object created during the exception handling. But in c# GC is there for destroying such kinds of unused objects, then what is the actual use of finally block. Tell me with a scenario related to that.

© Stack Overflow or respective owner

Related posts about c#