adspace


Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?

Answer Posted / Meena Kumari

No, it's not recommended or possible to suppress the finalization process inside the garbage collector forcibly. Objects are finalized when they are no longer referenced and reach a state known as "reachable" during the garbage collection. The Finalize method provides an opportunity to clean up unmanaged resources, but it doesn't prevent the object from being collected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141