Interviewer And Interviewee Guide

VB .Net Developer Interview Question:

Can you please explain the difference between Dispose and Finalize()?

Submitted by: Administrator
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.
Submitted by:

Read Online VB .Net Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.