public static ListProperties <T> operator -(ListProperties <T> one, ListProperties <T> two) { ListProperties <T> result = new ListProperties <T>(); for (int i = 0; i < one.Count; i++) { result.Add(one[i]); } for (int i = 0; i < two.Count; i++) { result.Remove(two[i]); } return(result); }
public ListProperties <T> Zip(ListProperties <T> objectA) { ListProperties <T> newList = new ListProperties <T>(); if (objectA.Count > this.Count || objectA.count == this.Count) { for (int i = 0; i < this.Count; i++) { newList.Add(this[i]); newList.Add(objectA[i]); } } else { for (int i = 0; i < objectA.Count; i++) { newList.Add(objectA[i]); newList.Add(this[i]); } } return(newList); }