You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stephen Cleary edited this page Feb 23, 2024
·
1 revision
Local Functions as Event Handlers
Local functions can be converted to delegates, but they can act as lambda expressions when they do so. This does not work well for event handlers because they do not compare as equivalent when they are treated as lambda expressions.