public override bool Equals(object obj) { if (obj == null) { return(false); } if (!(obj is HashObjectList)) { return(false); } HashObjectList list = (HashObjectList)obj; if (base.Count != list.Count) { return(false); } for (int i = 0; i < base.Count; i++) { if (!base[i].Equals(list[i])) { return(false); } } return(true); }
public IHashObjectList GetRange(int index, int count) { List <IHashObject> range = base.GetRange(index, count); IHashObjectList list2 = new HashObjectList(count); foreach (IHashObject obj2 in range) { list2.Add(obj2); } return(list2); }