예제 #1
0
        private static void case2()
        {
            DSaySomething obj = SayHello;

            obj += SayGoodBye;
            obj("Brijesh");
        }
예제 #2
0
        private static void Case1()
        {
            DSaySomething obj = SayHello;

            obj("Akash");
            obj = SayGoodBye;
            obj("Brijesh");
            // obj = Foo;
            //obj();
        }
예제 #3
0
 static void MessageWizard(DSaySomething obj)
 {
     Console.WriteLine("Inside Message Wizard");
     obj("Message Wizard");
 }