What is the Difference B/W Finalize() and Dispose() in .Net?
Answer Posted / nitin kumar
Dispose() Method is used to release Unmanage Resources.
When Unmanage Resources are no longer in use and Referenced
and is called Manually.
and
Finalize() Method is similar to Dispose Method But it is
called by the Garbage Collector.
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
What is asp.net architecture?
Why SessionID changes in every request in asp.net?
Describe Segmentation With Paging?
Explain the difference between an exe and a dll?
What is http protocol and how it works?
Define web.config in .net?
Explain the difference between debug.write and trace.write? When should each be used?
Explain the use of errorprovider control in .net?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
What is the difference between adding reference in solution explorer and adding references by using ?
How long the items in ViewState exists?
Explain the flow of processing of the request? : asp.net mvc
What is the concept of view state in asp.net?
What do you mean by role-based security?
How many web config files can be created for an application?