MoneyGetHashCode Method

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public override int GetHashCode()

Return Value

Int32
A hash code for the current Money.

Remarks

This is implemented to assist clients of the == and != operators.

Two Money values are equal if their Value and Currency members are equal.

See Also