What is the significance of Finalize method in .NET?

Answer

.NET Garbage collector does almost all clean up activity for your objects. But unmanaged
resources (ex: - Windows API created objects, File, Database connection objects, COM objects
etc) is outside the scope of .NET framework we have to explicitly clean our resources. For these
types of objects, .NET framework provides Object. Finalize method, which can be overridden and

clean up code for unmanaged resources can be put in this section?

All asp Questions

Ask your interview questions on asp

Write Your comment or Questions if you want the answers on asp from asp Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---