[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified is equal to the current .|
|Equals(Object, Object)||Determines whether the specified object instances are considered equal.|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.|
|GetHashCode||Serves as a hash function for a particular type.|
|GetType||Gets the Type of the current instance.|
|MemberwiseClone||Creates a shallow copy of the current .|
|ReferenceEquals||Determines whether the specified instances are the same instance.|
|ToString||Returns a string that represents the current object.|
Languages typically do not require a class to declare inheritance from because the inheritance is implicit.
Because all classes in the .NET Framework are derived from , every method defined in the class is available in all objects in the system. Derived classes can and do override some of these methods, including:
Equals - Supports comparisons between objects.
Finalize - Performs cleanup operations before an object is automatically reclaimed.
GetHashCode - Generates a number corresponding to the value of the object to support the use of a hash table.
ToString - Manufactures a human-readable text string that describes an instance of the class.