MoneyCompareTo Method

Compares the current instance with another Money.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public int CompareTo(
	Money other
)

Parameters

other  Money
A Money to compare with this instance.

Return Value

Int32
A 32-bit signed integer that indicates the relative order of the comparands. The return value has these meanings:
Valuemeaning
Less than zeroThis instance is less than other
ZeroThis instance is equal to other
Greater than zeroThis instance is greater than other

Implements

IComparableTCompareTo(T)

See Also