Thanks I did not discribe myself clearly. what I really want to know are where to find employee list of those who will participate in job placement in the AEA annual meeting this year in San Francisco thank you again
event is a special kind of delegate. It opens two and only two services to outside world - add event handler and remove event handler. If you use a delegate instead of event, any subscriber can set or change the value of delegate. For example, they can set its value as null. Subscriber can also know who is subscribing to the event, which leads to security problem.
s*d
12 楼
如上面所说,避免被赋值,只允许添加,删除。
c*a
13 楼
精辟。 MSDN 上随也这样写了, 但是偶就是没理解到。 被这么一说就明白了。
【在 c**d 的大作中提到】 : event is a special kind of delegate. It opens two and only two services to : outside world - add event handler and remove event handler. If you use a : delegate instead of event, any subscriber can set or change the value of : delegate. For example, they can set its value as null. Subscriber can also : know who is subscribing to the event, which leads to security problem.