• +91 9723535972
  • info@interviewmaterial.com

VB.Net Interview Questions and Answers

Question - What are all the differences between Dispose and Finalize()?

Answer -

Finalize method is called by Garbage collector which helps us to make free of unmanaged resources. There are some other resources like window handles, database connections are handled by iDisposable interface.

Dispose method is handled by IDisposable interface to explicitly release unused resources. Dsipose can be called even if other references to the object are alive.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners