MoneyEquals(Object) Method

Determines whether the specified Object is equal to this instance of Money.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public override bool Equals(
	Object? obj
)

Parameters

obj  Object
The Object to compare to this Money instance.

Return Value

Boolean
true if obj is an instance of Money whose value and currency are both equal to this instance of Money; otherwise, false.

Remarks

If obj is not a Money or implicitly convertible into one, Equals returns false.

See Also