Catel.StringExtensions.EqualsIgnoreCase C# (CSharp) 메소드

EqualsIgnoreCase() 공개 정적인 메소드

Executes a string comparison that is case insensitive.
public static EqualsIgnoreCase ( this str, string valueToCheck ) : bool
str this The string.
valueToCheck string The value to check.
리턴 bool
        public static bool EqualsIgnoreCase(this string str, string valueToCheck)
        {
            return string.Equals(str, valueToCheck, StringComparison.OrdinalIgnoreCase);
        }