interface & delegate
Reply
![]() |
|
From:
![]() AlwaysLakshmi
|
Hi Paresh, There isn't much. A delegate is a wrapper around a method call, an event is basically a special property that contains a delegate with protection provided by the language. Events are accessed through a set of property methods(public add_EventName(Delegate d), public remove_EventName(Delegate d), and sometimes a protected raise_EventName(not sure of the sig, think its just EventArgs e)) which allows you to ensure that callers outside of your class don't raise the event or don't clear all the event listeners for example, while still allowing them to add and remove their own handlers If you need more information, check the links below: Hope that helps.. Regards Lakshmi |
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|