Delegates and Events Quiz
Below are the answers to the Delegates and Events Quiz, along with a brief discussion.
1. True.
2. True.
3. True.
4. False. Only methods that match the delegate may be attached to the event.
5. False. They can be detached, and should be detached when you’re no longer interested in receiving event notifications. This includes if the attached object is being thrown away and won’t be used again.