Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Lots <int> lot1 = new Lots <int> {
                1, 2, 3, 4, 5, 99
            };
            Lots <int> lot2 = new Lots <int> {
                1, 2, 3, 6, 5, 4, 7, 8
            };
            Lots <int> lot3;

            lot3 = lot1.SymmetricDifferenc(lot2);

            foreach (var i in lot3)
            {
                Console.WriteLine(i);
            }

            Console.ReadLine();
        }