public override bool Equals(object Object) { Heap SL = (Heap)Object; if ( SL.Count!=Count ) return false; for (int i=0; i<Count; i++) if ( !SL[i].Equals(this[i]) ) return false; return true; }