What is the use of finalize and dispose eventhough garbage
collector is working?
Answer Posted / bharani
Finalize method is actually a the destructor for the
mananged objects, but if you want to destruct an unmanaged
object dispose method allows the programmer to make
explicit calls such as destroywindow to the destruct the
unmanaged object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the two ways to add constraints to a route?
What are the components of the .net framework.
Mention some action filters which are used regularly in ASP.Net MVC?
Can you use Razor code in Javascript in ASP.Net MVC?
Can any particular component of .net framework 3.0 be removed?
What is the difference between entity framework and mvc?
What is the difference between viewbag and viewdata in asp.net mvc?
What is basic authentication in web api?
What is objectset? : Entity framework
what is way of loading data in ef (entity framework)?
Can I remove .net framework?
Explain how to use multiple submit buttons in ASP.Net MVC?
What are Model Binders in ASP.Net MVC?
Which is the root namespace for fundamental types in .net framework?
How we can handle the exception at controller level in ASP.Net MVC?