public object Clone() { TOCList tocListNew = new TOCList(); foreach (TOCNode tn in arrayList) { tocListNew.Add((TOCNode)tn.Clone()); } return(tocListNew); }
public object Clone() { TOCList tocListNew = new TOCList(); foreach(TOCNode tn in arrayList) { tocListNew.Add((TOCNode)tn.Clone()); } return tocListNew; }