Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC#events and observer patternSingle-choice MCQ

Given a standard field-like event raised via a temporary copy, why is the local copy pattern used?

var handler = SomethingHappened; if (handler != null) handler(this, EventArgs.Empty);