VB Dot Net Developer Question:
Download Job Interview Questions and Answers PDF
Can you please explain the difference 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.
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.
Download VB .Net Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain jagged array in VB.Net? | Explain about Garbage Collection? |