Quote of the day
Curiosity is one of the permanent and certain characteristics of a
vigorous mind.
,DELEGATES AND EVENTS
, • In programming, you are often faced with situations where you nee
to execute a particular action, but you don't know in advance whic
method, or even which object, you'll want to call upon to execute t
action.
• For example, a button might know that it must notify some object
when it is pushed, but it might not know which object or objects ne
to be notified. Rather than wiring the button to a particular object,
you will connect the button to a delegate and then resolve that
delegate to a particular method when the program executes.