Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
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

 
COPYRIGHT/DISCLAIMER | CONTACT US