/// <summary> /// Determines whether the specified <see cref="T:Subtag"/> is equal to this instance. /// </summary> /// <param name="other">The other.</param> /// <returns></returns> public bool Equals(Subtag other) { return other != null && other._code.Equals(_code, StringComparison.InvariantCultureIgnoreCase) && other.Name == Name && other._isPrivateUse == _isPrivateUse; }
/// <summary> /// Determines whether the specified <see cref="T:Subtag"/> is equal to this instance. /// </summary> /// <param name="other">The other.</param> /// <returns></returns> public bool Equals(Subtag other) { return(other != null && other._code.Equals(_code, StringComparison.InvariantCultureIgnoreCase) && other.Name == Name && other._isPrivateUse == _isPrivateUse); }