System.Object

The System.Object class is the ultimate base class of all .NET types.

Namespace

System

Assembly

System.Private.CoreLib.dll

Inheritance Hierarchy

System.Object

Constructors

SignatureSummary
Object()Initializes a new instance of the Object class.

Methods

SignatureSummary
bool Equals(object? obj)Determines whether the specified object is equal to the current object.
bool Equals(object? objA, object? objB)Determines whether two specified objects have the same value.
int GetHashCode()Returns a hash code for the current object.
Type GetType()Gets the Type of the current instance.
object MemberwiseClone()Creates a shallow copy of the current object.
string? ToString()Returns a string that represents the current object.

See Also