Ejemplo n.º 1
0
 public static bool Between <T>(this IComparable <T> @this, T value1, T value2)
 => @this.MoreThanOrEqualTo(value1) && @this.LessThanOrEqualTo(value2);
Ejemplo n.º 2
0
 public static bool Between(this IComparable @this, object value1, object value2)
 => @this.MoreThanOrEqualTo(value1) && @this.LessThanOrEqualTo(value2);