Standard implementation of the less than or equal to operator.
public static bool OperatorLessThanOrEqual<T>(T? left, T? right)
where T : class, IComparable<T>
parameter | description |
---|---|
left | The left item. |
right | The right item. |
True if the left is less than or equal to the right.