public static myStringCollection operator +(myStringCollection list1, myStringCollection list2) { myStringCollection retList = new myStringCollection(); retList.Add(list1); retList.Add(list2); return retList; }
public void Add(myStringCollection list) { if (list == null) return; for (int idx = 0; idx < this.Count; idx++) { if (this.Contains(list[idx]) == false) this.Add(list[idx]); } }
public static myStringCollection operator +(myStringCollection list1, myStringCollection list2) { myStringCollection retList = new myStringCollection(); retList.Add(list1); retList.Add(list2); return(retList); }
public void Add(myStringCollection list) { if (list == null) { return; } for (int idx = 0; idx < this.Count; idx++) { if (this.Contains(list[idx]) == false) { this.Add(list[idx]); } } }