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
Is http stateful or stateless?
Which is the root namespace for fundamental types in .net framework?
What is net framework 3.0 ?
Is the following route definition a valid route definition? {controller}{action}/{id}
How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
What is rxjava used for?
Is mvc 4 supporting windows azure sdk (software development kit) ?
Explain two instances where routing is not implemented or required?
What is viewbag?
how do you truncate a table using entity data model?
mention what are the various methods provided by the dataset object to generate xml?
What is code first? : Entity framework
how do you mark a property as required? For example, for a project, the name is a required field.
how to disable the lazy loading framework?