Byte.IComparisonOperators<Byte,Byte,Boolean>.LessThanOrEqual Operator

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Compares two values to determine which is less or equal.

C#
static bool IComparisonOperators<byte,byte,bool>.operator <=(byte left, byte right);

Parameters

left
Byte

The value to compare with right.

right
Byte

The value to compare with left.

Returns

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

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10