public void AddRange(XmlElementQualifiedNameCollection names)
 {
     for (int i = 0; i < names.Count; i++)
     {
         Add(names[i]);
     }
 }
        public override bool Equals(object obj)
        {
            XmlElementQualifiedNameCollection rhs = obj as XmlElementQualifiedNameCollection;

            if (rhs != null)
            {
                if (Count == rhs.Count)
                {
                    for (int i = 0; i < Count; ++i)
                    {
                        XmlElementQualifiedName lhsName = this[i];
                        XmlElementQualifiedName rhsName = rhs[i];
                        if (!lhsName.Equals(rhsName))
                        {
                            return(false);
                        }
                    }
                    return(true);
                }
            }
            return(false);
        }
 public XmlElementQualifiedNameCollection(XmlElementQualifiedNameCollection names)
 {
     AddRange(names);
 }