locked
system.object RRS feed

  • Question

  • Why does VS object browser not show Finalize method of system.object?

    Thanks

     

    Thursday, January 13, 2011 10:41 AM

Answers

  • It is displayed in destructor-syntax: "~Object"

    Chris
    Thursday, January 13, 2011 1:31 PM

All replies

  • Why would you expect one? System.Object doesn't contain any native resources or any other reason why it should have a finalizer.
    Thursday, January 13, 2011 1:19 PM
  • It is displayed in destructor-syntax: "~Object"

    Chris
    Thursday, January 13, 2011 1:31 PM
  • Thanks but see Christophs answer. Object does have virtual Finalize method but is shown in C# as destructor, ~object.

     


    wally
    Thursday, January 13, 2011 3:16 PM
  • Excellent answer, missed that one!
    wally
    Thursday, January 13, 2011 3:18 PM