Differences between events and multi-cast delegates

  • Thread starter Thread starter Steve Sargent
  • Start date Start date
S

Steve Sargent

Hi:

I would like to know exactly what the difference is between an event
and a multi-cast delegate. From the little understanding I have, they
appear from the outside to be the same. Is this true? If not, how do
they differ?

Thanks in advance for any and all replies

Steve
 
An event is syntactic sugar for the ability to add handlers, remove
handlers, and invoke handlers for a multi-cast delegate. An event is also a
construct which the various design time editors understand, so that the
end-user can create a handler for an event at design time and the design
time editors will automatically add the correct code to the source file.
 
Back
Top