static void Main(string[] args)
        {
            var bxList = new BoxCollection();

            bxList.Add(new Box(10, 4, 6));
            bxList.Add(new Box(4, 6, 10));
            bxList.Add(new Box(6, 10, 4));
            bxList.Add(new Box(12, 8, 10));

            // Same dimensions. Cannot be added:
            bxList.Add(new Box(10, 4, 6));
            Display(bxList);

            Console.WriteLine("Removing 6x10x4");
            bxList.Remove(new Box(6, 10, 4));
            Display(bxList);

            // Test the Contains method.
            Box BoxCheck = new Box(8, 12, 10);

            Console.WriteLine("Contains {0}x{1}x{2} by dimensions: {3}",
                              BoxCheck.Height.ToString(), BoxCheck.Length.ToString(),
                              BoxCheck.Width.ToString(), bxList.Contains(BoxCheck).ToString());

            // Test the Contains method overload with a specified equality comparer.
            Console.WriteLine("Contains {0}x{1}x{2} by volume: {3}",
                              BoxCheck.Height.ToString(), BoxCheck.Length.ToString(),
                              BoxCheck.Width.ToString(), bxList.Contains(BoxCheck,
                                                                         new BoxSameVol()).ToString());

            Console.ReadLine();
        }