Redigera

Dela via


IComparisonOperators<TSelf,TOther,TResult>.LessThan Operator

Definition

Compares two values to determine which is less.

public:
 static TResult operator <(TSelf left, TOther right);
public static abstract TResult operator < (TSelf left, TOther right);
static member ( < ) : 'Self * 'Other -> 'Result
Public Shared Operator < (left As TSelf, right As TOther) As TResult

Parameters

left
TSelf

The value to compare with right.

right
TOther

The value to compare with left.

Returns

TResult

true if left is less than right; otherwise, false.

Applies to