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
Explain ASP.NET MVC Identity and Security?
Explain the new features added in version 4 of mvc (mvc4)?
Name a few different return types of a controller action method?
What is the .net framework?
how can you tell ef to have a different table or column name than that defined for the class?
What is html.renderpartial?
What is meant by tempdata in mvc?
Can I add asp.net mvc testcases in visual studio express?
How we can add the CSS in ASP.Net MVC?
What are the versions of .net framework?
Explain the methods used to render the views in mvc?
Can I set the unlimited length for "maxjsonlength" property in config?
Explain .Net Framework? Why we use it?
What is ViewStart Page in ASP.Net MVC?
what is use of entity container?