GSF.StringExtensions.IsPlural C# (CSharp) Method

IsPlural() public static method

Determines whether the specified word is plural.
public static IsPlural ( this value ) : bool
value this The word to be analyzed.
return bool
        public static bool IsPlural(this string value)
        {
            if (string.IsNullOrEmpty(value))
                return false;
#if MONO
            return value.EndsWith("s", StringComparison.OrdinalIgnoreCase);
#else
            return s_pluralizationService.IsPlural(value);
#endif
        }
    }