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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

ValueType Class
ValueType Members
System Namespace