what is finalize() and dispose() methods?

what is the difference between these two?

  • Babita
  • 13 Oct 2022
  • 606 Views
  • 4 Answers
Your Answer

+ Purpose of both the method is same that is "Removing object from memory which is not in use from long time and occupying the space unnecessarly" + Where the Finalize() is called implicitly by Garbage collector and Dispose() is called explicitly by Devloper

C Sharp Dot Net

Didn't get the answer.
Contact people of Talent-C Sharp Dot Net directly by clicking here