Garbage Collection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gayatri pande
    New Member
    • Jan 2009
    • 10

    Garbage Collection

    What does base.Finalize() i.e. System.Object.F inalize exactly do internally when overrided by the class destructor?
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Originally posted by gayatri pande
    What does base.Finalize() i.e. System.Object.F inalize exactly do internally when overrided by the class destructor?
    You normally call the base.FunctionNa me in the derived class function to call the base Class version of function...
    Finalize is used to clean up unmanaged resources....Yo u should implement a destructor to achieve the Finalize method functionality ....

    Comment

    • PRR
      Recognized Expert Contributor
      • Dec 2007
      • 750

      #3
      Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework
      This might be helpful.....

      Comment

      Working...