System.Object Class
Provides support for classes. This class is the root of the object hierarchy.

See Also: Object Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDual)]
[System.Runtime.InteropServices.ComVisible(true)]
public class Object

Remarks

Note:

Classes derived from object can override the following methods of the object class:

  • object.Equals(object) - Enables comparisons between objects.
  • object.Finalize - Performs clean up operations before an object is automatically reclaimed.
  • object.GetHashCode - Generates a number corresponding to the value of the object (to support the use of a hashtable).
  • object.ToString - Manufactures a human-readable text string that describes an instance of the class.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0