How to: Use a Dictionary to Store Event Instances (C#)
Full Name:
How to: Use a Dictionary to Store Event Instances (C#)
Short Name:
How to: Use a Dictionary to Store Event Instances (C#)
Type of Entity:
C#
Abstract:
One use for accessor-declarations is to expose a large number of events without allocating a field for each event, but instead using a Dictionary to store the event instances. This is only useful if you have a very large number of events, but you expect most of the events will not be implemented.
MSDN Source URL:
http://msdn2.microsoft.com/z4ka55h8.aspx