IComparisonOperators<TSelf,TOther,TResult>.LessThanOrEqual Operator

Definition

Compares two values to determine which is less or equal.

C#
public static abstract TResult operator <= (TSelf left, TOther right);

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 or equal to right; otherwise, false.

Applies to

Product Versions
.NET 7, 8, 9