Exemple #1
0
 public static myStringCollection operator +(myStringCollection list1, myStringCollection list2)
 {
     myStringCollection retList = new myStringCollection();
     retList.Add(list1);
     retList.Add(list2);
     return retList;
 }
Exemple #2
0
 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]);
     }
 }
Exemple #3
0
        public static myStringCollection operator +(myStringCollection list1, myStringCollection list2)
        {
            myStringCollection retList = new myStringCollection();

            retList.Add(list1);
            retList.Add(list2);
            return(retList);
        }
Exemple #4
0
 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]);
         }
     }
 }