How to: Combine Delegates (Multicast Delegates)(C#)
Full Name:
How to: Combine Delegates (Multicast Delegates)(C#)
Short Name:
How to: Combine Delegates (Multicast Delegates)(C#)
Type of Entity:
C#
Abstract:
This example demonstrates how to compose multicast delegates. A useful property of delegate objects is that they can be assigned to one delegate instance to be multicast using the + operator. A composed delegate calls the two delegates it was composed from. Only delegates of the same type can be composed.
MSDN Source URL:
http://msdn2.microsoft.com/ms173175.aspx