diff --git a/X10D/src/ComparableExtensions/ComparableExtensions.cs b/X10D/src/ComparableExtensions/ComparableExtensions.cs index d314c13..994544b 100644 --- a/X10D/src/ComparableExtensions/ComparableExtensions.cs +++ b/X10D/src/ComparableExtensions/ComparableExtensions.cs @@ -8,16 +8,16 @@ namespace X10D.ComparableExtensions public static class ComparableExtensions { /// - /// Determines if is between and . + /// Determines if a specified value falls exclusively between a specified lower bound and upper bound. /// /// An type. /// The first comparison operand type. /// The second comparison operand type. - /// The value to compare. + /// The value to compare. /// The exclusive lower bound. /// The exclusive upper bound. /// - /// if is between the and + /// if is between the and /// /// -or- /// otherwise. @@ -43,10 +43,10 @@ namespace X10D.ComparableExtensions /// // True /// /// - public static bool Between(this T1 actual, T2 lower, T3 upper) + public static bool Between(this T1 value, T2 lower, T3 upper) where T1 : IComparable, IComparable { - return actual.CompareTo(lower) > 0 && actual.CompareTo(upper) < 0; + return value.CompareTo(lower) > 0 && value.CompareTo(upper) < 0; } ///