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 |
What is meant by .Net framework?
What is WSDL? Explain its architecture?
Please explain what do the terms “boxing” and “unboxing” mean?
Differences between datagrid, datalist and repeater in .net?
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.
Which namespace does it belong to by default?
What is the difference between custom control and web control?
Compare client server application with n-tier application
Explain the procedure to add assemly to gac to make it shared one?
What is the difference between server.transfer and response.redirect? Why?
What tools is used to develop .NET applications?
What is a variable of implicit type and what is its scope?