ComparableExtensions.IsBetweenInclusiveExclusive<T>
Extension Method in ComparableExtensions
Declaration
public static bool IsBetweenInclusiveExclusive<T>(this T value, T min, T max)
where T : IComparable<T>
Description
Checks if the value is in the range [min..max).
Type Parameters
T | The type of value to check. |
Parameters
value | The value to check. |
min | The minimum value. |
max | The maximum value. |
Returns
bool | True if the value is in the range [min..max). |