Example #1
0
        public override object Clone()
        {
            DeepCloneArrayList clonedList = new DeepCloneArrayList();

            for (int i = 0; i < this.Count; i++)
            {
                clonedList.Add(((ICloneable)this[i]).Clone());
            }

            return(clonedList);
        }
Example #2
0
        public override object Clone()
        {        
            DeepCloneArrayList clonedList = new DeepCloneArrayList();

            for( int i = 0; i < this.Count; i++ )
            {
                clonedList.Add( ((ICloneable)this[i]).Clone() );

            }

            return clonedList;
        }