System.Decimal.Equals Method

Returns a value indicating whether this instance and a specified object represent the same type and value.

Syntax

public override bool Equals (object value)

Parameters

value
The object to compare with this instance.

Returns

true if value is a decimal and equal to this instance; otherwise, false.

Remarks

Note: 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