/// <summary> /// 比较2个字符串是否相同,不区分大小写 /// </summary> public static bool IsSame(this String source, string target) { return(StringHelper.IsSame(source, target, true)); }
/// <summary> /// 比较2个字符串是否相同 /// </summary> public static bool IsSame(this String source, string target, bool ignoreCase) { return(StringHelper.IsSame(source, target, ignoreCase)); }