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
Differentiate between client-side and server-side validations in web pages.
What’s the difference between response .redirect and server.transfer?
What is a form tag?
What is the use of data set in asp.net?
Describe Segmentation With Paging?
Is asp.net and .net same?
What is the difference between login controls and forms authentication?
Describe how to implement globalization and localization in the use interface in .net.
How to disable validator control by client side JavaScript?
Explain the advantages of asp.net.
Contrast OOP and SOA. What are tenets of each ?
Is it right that ASP.NET Web API has replaced WCF?
Explain difference betn dataset and recordset?
What are the memory-mapped files?
Which library is used by the testers and developers to develop automated tests and create testing tools?