Re: delegates and events

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thank you , Jon

I have misunderstanded both event keword and delegate.
That artical teaches me a lot.

I really appreciate your kind help.
gshzheng
20070326


"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx>
??????:MPG.2071792694bee3ec98da22@xxxxxxxxxxxxxxxxxxxxxxx
gshzheng <gshzheng@xxxxxxxxx> wrote:
Personally, I think there r 2 difference:

1) using event keyword,'+=' operator will bound as many motheds as you
want
to the delegate by managing a inner list;
2:) you can see different icon when you type you code in vs.net.

Those are just visible differences in simple situations - the real
differences are much more profound.

See http://pobox.com/~skeet/csharp/events.html

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too



.