What is the use of finalize and dispose eventhough garbage
collector is working?
Answer Posted / chaitanya
It is advisable not to use the finalize and Dispose
methods,because garbage collector takes Care of the objects
that Should be Disposed.We should use Finalise and Dispose
methods when working with resources in the network or
working with the unmanaged code.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is partialview in asp.net mvc?
What is net framework 3.0 ?
Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).
What is RouteConfig.cs in ASP.Net MVC 4?
Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?
What does a viewmodel do?
Is it possible to create a custom filter?
What is layout in mvc?
What is filters in web api?
What is the role of the jit compiler in .net framework?
what is explicit loading?
what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?
Which .net framework is installed?
What is domain class model?
What are the Core features of ASP.NET MVC?