I would say that an event is a member while a delegate is a [EMAIL PROTECTED]> Date: Wed, 20 Feb 2008 15:04:22 +0200> From: [EMAIL PROTECTED]> Subject: Re: [ADVANCED-DOTNET] Missing event keyword> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> > > 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 _________________________________________________________________ Who's friends with who and co-starred in what? http://www.searchgamesbox.com/celebrityseparation.shtml =================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com