Why delegate types are derived from MulticastDelegate class why not it directly derive from Delegate class?

Posted by Vijay on Stack Overflow See other posts from Stack Overflow or by Vijay
Published on 2011-01-28T21:04:56Z Indexed on 2011/01/29 7:25 UTC
Read the original article Hit count: 124

Filed under:
|
|
|

I have a very basic question regarding delegate types. I compared the memebers of Delegate and MulticastDelegate classes in object browser and I couldn't find any new additional member present in MulticastDelegate. I also noticed that the Delegate class has GetInvocationList virtual method. So I assume that the Delegate class should have the capability to hold references to multiple methods. If my assumption is correct I wonder why not custom delegate types directly derive from the Delegate class instead of MulticastDelegate class. Not sure what I am missing here. Please help me understand the difference.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET