Chapter 14. C# delegates

Delegates will be something new to Java developers, and understanding them is important for understanding events.[1] And since events are an important part of any event-driven language, mastering delegates is a prerequisite if you want to be proficient in C#.

[1] I have read C# books which do not make a distinction between delegates and events, and (worse still) some which use delegates instead of events for event handling. Events can be viewed as one special type of delegate, but they are definitely not identical!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.187.62