Compartir a través de


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 (
         Object obj
)

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, 4.1, and 4.2.

See Also

Reference

ValueType Class
ValueType Members
System Namespace