Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
What do you mean by “finalize” and “finally” metho...
1.
What do you mean by “finalize” and “finally” methods in C#?
Answer»
S.no
finally
finalize
1.
CALLED
after
EXECUTION
of block
Called before garbage collection
2.
Used for exception handling.
Used for performing clean up operations
3.
Usually
CONTAINS
clean-up code
Automatically called when an
INSTANCE
is not called subsequently.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What do you mean by stack and heap in C#?
How can we sort an array in C#?
Explain nullable types in C#?
What is Thread and explain states of a thread in C#?
Explain the difference between “as” and “is” operators used in C#?
Explain the difference between “System.Array.Clone()” and “System.Array.CopyTo()” in C#?
What do you mean by Synchronous and Asynchronous operations?
What do you mean by Delegates and explain different types of Delegates?
What do you mean by Parsing and how to Parse a Date Time String in C#?
Please explain the basic String Operations used in C#?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies