C# - Anonymous delegate
c#, delegates
Solution
Your delegate collection in the example points to a number of anonymous methods. A delegate is "just a method pointer". It doesn't matter if it points to a real method or an anonymous method.
Please see http://msdn.microsoft.com/en-us/library/0yw3tz5k(VS.80).aspx
Problem
Like Anonymous Methods ,the delegates i am declaring down using "delegate" keyword are anonymous delegates? ``` namespace Test { public delegate void MyDelegate(); class Program { static void Main(string[] args) { DelegateTest tst = new DelegateTest(); tst.Chaining(); Console.ReadKey(true); } } class DelegateTest { public event MyDelegate del; public void Chaining() { del += delegate { Console.WriteLine("Hello World"); }; del += delegate { Console.WriteLine("Good Things"); }; del += delegate { Console.WriteLine("Wonderful World"); }; del(); } } } ```