Share via


ValueType.Equals Method

Indicates whether the current ValueType object and a specified Object object are equal.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[MethodImplAttribute]
public override bool Equals (
         Objectobj
)

Parameters

  • obj
    The object you want to compare with the current object.

Return Value

true if the current object and the specified object are the same type and represent the same value (indicated by the obj parameter); otherwise, false.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

ValueType Class
ValueType Members
System Namespace