[]
        
(Showing Draft Content)

C1.WPF.Core.Range-1.op_LessThanOrEqual

operator <= Operator

operator <=(Range<T>, Range<T>)

Overrides the less than or equal to operator.

Declaration
public static bool operator <=(Range<T> left, Range<T> right)
Public Shared Operator <=(left As Range(Of T), right As Range(Of T)) As Boolean
Parameters
Type Name Description
Range<T> left

The left range.

Range<T> right

The right range.

Returns
Type Description
bool

true if the

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

operator <=(Range<T>, T)

Overrides the less than or equals operator.

Declaration
public static bool operator <=(Range<T> left, T right)
Public Shared Operator <=(left As Range(Of T), right As T) As Boolean
Parameters
Type Name Description
Range<T> left

The left range.

T right

The right range.

Returns
Type Description
bool

true if the

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