If we not suppress finalize method in dispose what will happen?
Answer Posted / answerme
If we do not suppress finalize method in dispose, the
finalise method will be called twice by the garbage
collector. Once the method that is called by the developer
and once when the GC runs for checking the object that are
out of scope. This hampers the performance and is heavy on
performance.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which version of .net framework is installed?
What is .net framework & its benefits?
What is the difference between old ADO.NET and Entity framework coding techniques?
What are the components of the .net framework.
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
How the ‘page lifecycle’ of ASP.Net MVC does works?
Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?
Is mvc 4 supporting windows azure sdk (software development kit) ?
Is .net framework 4.8 the last version?
What is ViewData and TempData in ASP.Net MVC?
Explain what is the difference between view and partial view?
Explain the advantages of asp.net mvc over asp.net?
mention in what all scenarios entity framework can be applicable?
I want ask from plz smaple example code for Biztalkk server
What is separation of concerns in asp.net mvc?