O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required