System.Type.Equals Method

Determines if the underlying system type of the current Type is the same as the underlying system type of the specified object.

Syntax

public override bool Equals (object o)

Parameters

o
The object whose underlying system type is to be compared with the underlying system type of the current Type.

Returns

true if the underlying system type of o is the same as the underlying system type of the current Type; otherwise, false. This method also returns false if the object specified by the o parameter is not a Type.

Remarks

This method overrides object.Equals(object).

Requirements

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