public ClassFolderCollection Copy() { ClassFolderCollection copiedFolders = new ClassFolderCollection(itemCount); foreach (ClassFolder folder in this) { copiedFolders.Add(folder.Copy()); } return(copiedFolders); }
public ClassFolderCollection Clone() { ClassFolderCollection clonedClassFolder = new ClassFolderCollection(itemCount); foreach (ClassFolder item in this) { clonedClassFolder.Add(item); } return(clonedClassFolder); }