What is the Difference B/W Finalize() and Dispose() in .Net?
Answer Posted / m.sivakumar
Dispose() is called by as an indication for an object to release any unmanaged resources it has held.
Finalize() is used for the same purpose as dispose however finalize doesn’t assure the garbage collection of an object.
Dispose() operates determinalistically due to which it is generally preferred.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is csrf attack in asp.net?
What do you understand by aggregate dependency?
Can master pages be nested?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What are the security types in asp.net?
Will session work if cookies is disabled?
Explain what does mvc represent in asp.net? : asp.net mvc
How do we implement bundling in MVC?
How do session tokens work?
What is advantage of asp.net?
What are the cookies types in asp.net?
is gateway for sms continue connected for sending sms.how?
What are validator? Name the validation controls in asp.net?