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



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

Answer / 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

More Dot Net General Interview Questions

What is meant by .Net framework?

1 Answers  


What is WSDL? Explain its architecture?

1 Answers   Amdocs,


Please explain what do the terms “boxing” and “unboxing” mean?

1 Answers  


Differences between datagrid, datalist and repeater in .net?

1 Answers  


If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.

1 Answers  


Which namespace does it belong to by default?

1 Answers  


What is the difference between custom control and web control?

2 Answers  


Compare client server application with n-tier application

1 Answers  


Explain the procedure to add assemly to gac to make it shared one?

1 Answers  


What is the difference between server.transfer and response.redirect? Why?

1 Answers  


What tools is used to develop .NET applications?

1 Answers  


What is a variable of implicit type and what is its scope?

1 Answers  


Categories