Saturday, February 23, 2008

Where is System.Object ?

System.Object is defined in MSCorLib.dll . This dll contains all the FCL types like Object ,Int32, String,etc.

All the objects in C# are derived from System.Object class.

  • There are not data members in this class.
  • This class offers 4 public instance methods:
    • Equals()
    • ToString()
    • GetHashCode()
    • GetType()
  • Two protected methods:
    • MemberwiseClone
    • Finalize

No comments: