Ejemplo n.º 1
0
        public static void Main()
        {
            Procedure someprocs = null;

            someprocs += new Procedure(Delegates_Demo.Method1);
            someprocs += new Procedure(Delegates_Demo.Method2);

            Delegates_Demo del = new Delegates_Demo();

            someprocs += new Procedure(del.Method3);
            someprocs();
        }
 public void Delegates_DemoTest()
 {
     Delegates_Demo.Main();
 }