In more than 5 words:
Delegates and callbacks: A delegate object contains information required to call a specific method of a specific object. Think of it as a smart method pointer. The delegate can be passed to another location, and accessed to make a type-safe call to the represented method. A callback method is an example of a delegate. The event keyword is used in the declaration of methods that are to be the delegates called when an event occurs.
>HeHeHe...
>
>
>
>>>Bonnie, could you explain delegates, in five words or less?
>>
>>Class that calls a function.
>>
>>5 words!
>>
>>BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only