예제 #1
0
        static void Main()
        {
            Product  productChar = new Product();
            Conveyer conveyer    = new Conveyer();

            ProductDelegate productDelegate = new ProductDelegate(conveyer.SizesRemoved);

            productDelegate += conveyer.Wrapped;
            productDelegate += conveyer.Drilled;



            productDelegate.Invoke(productChar);

            Console.WriteLine(productChar.ShowProperties());
            Console.ReadKey();
        }