> He asked me what difference the event keyword made and I said I thought > it was to do with attaching multiple subscribers, but I must admit I > was surprised that the "+=" syntax above worked. I would have expected > that since EventHandler is a delegate he would have had to have used > just a normal assignment instead to make it work. > > > Can anyone give me the real story here?
The += operator is overloaded for delegates, as far as I know, as well as events. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com