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 are the different types of proxy patterns?
What is the difference between user control an custom control?
Can I combine classic asp and asp.net pages?
Is session stored in browser?
What is considered a service provider?
What is the current version of asp.net?
What is postback request?
what cut off mark for po's,what questions they asked for interview?
How you can access the properties and controls of master pages from content pages?
What is the adavantage of using ASP.NET routing?
How do we access view state value of this page in the next page?
What are the Types of objects in ASP
Explain method to handle error using HttpError in Web API?
Explain the difference between server control and html control.
Explain the difference between the web config and machine config.