1.

What do you mean by “finalize” and “finally” methods in C#?

Answer»
S.nofinallyfinalize
1.CALLED after EXECUTION of blockCalled before garbage collection
2.Used for exception handling.Used for performing clean up operations
3.Usually CONTAINS clean-up codeAutomatically called when an INSTANCE is not called subsequently.


Discussion

No Comment Found