Exemplo n.º 1
0
        public Lots <T> SymmetricDifferenc(Lots <T> item)
        {
            Lots <T> ts1 = new Lots <T>(list);
            Lots <T> ts2 = new Lots <T>(item);
            Lots <T> ts3 = ts1.Union(ts2);
            Lots <T> ts4 = ts1.Intersection(ts2);
            Lots <T> ts5 = ts3.Difference(ts4);

            return(ts5);
        }