//event handler implementing the subscriber's delegate***should have same signature as that of the delegate public void DisplayOk(object clock, CarEventArgs args) { Console.WriteLine("Gadi badiya chal raha hai ==> msg from publisher {0}", args.msg); }
//event handler implementing the publsihers delegate public void Display(object car, CarEventArgs args) { Console.WriteLine("SOS, break out of the car ==> msg from publsiher {0}", args.msg); }