MoneyLessThan Operator

Compares two values to determine which is less.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
public static bool operator <(
	Money left,
	Money right
)

Parameters

left  Money
The value to compare with right.
right  Money
The value to compare with left.

Return Value

Boolean
true if the first instance is lesser in value than the second instance.

Implements

IComparisonOperatorsTSelf, TOther, TResultLessThan(TSelf, TOther)

Exceptions

InvalidOperationExceptionThrown if the two Money values are denominated in different currencies.

See Also