public override bool Equals(object obj)
{
if (! (obj is IntegerList))
return false;
IntegerList otherList = (IntegerList)obj;
if (otherList.Count != this.Count)
return false;
for (int i=0; i < this.list.Count; i++)
{
if (this[i] != otherList[i])
return false;
}
return true;
}