private static void case2() { DSaySomething obj = SayHello; obj += SayGoodBye; obj("Brijesh"); }
private static void Case1() { DSaySomething obj = SayHello; obj("Akash"); obj = SayGoodBye; obj("Brijesh"); // obj = Foo; //obj(); }
static void MessageWizard(DSaySomething obj) { Console.WriteLine("Inside Message Wizard"); obj("Message Wizard"); }