System.Object: Method Members

The methods of System.Object are listed below. For a list of all members, see the Object Members list.

Public Methods

Equals(object) : bool

Determines whether the specified object is equal to the current object.

static
Equals(object, object) : bool

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() : int

Serves as the default hash function.

GetType() : Type

Gets the Type of the current instance.

static
ReferenceEquals(object, object) : bool

Determines whether the specified object instances are the same instance.

ToString() : string

Returns a string that represents the current object.

Protected Methods

MemberwiseClone() : object

Creates a shallow copy of the current object.