Free mag vol1 | Page 435

CHAPTER 10  DELEGATES, EVENTS, AND LAMBDA EXPRESSIONS // No more notifications! for (int i = 0; i < 6; i++) c1.Accelerate(20); Console.ReadLine(); } static void CallMeHere(string msg) { Console.WriteLine("=> Message from Car: {0}", msg); } } Notice that we are not directly allocating the associated delegate object, but rather simply specifying a method that matches the delegate’s expected signature (a method returning void and taking a single string, in this case). Understand that the C# compiler is still ensuring type safety. Thus, if the CallMeH W&R