What are the differences between delegates and an events? Don't both hold references to functions that can be executed?
C# – What are the differences between delegates and events
cdelegateseventsglossary
Related Topic
- C# – Deep cloning objects
- C# – What are the correct version numbers for C#
- C# – Case insensitive ‘Contains(string)’
- C# – Why would you use Expression
> rather than Func - JQuery multiple events to trigger the same function
- Javascript – What’s the difference between event.stopPropagation and event.preventDefault
- R – Make individual checkboxes on WPF datagrid not visible
Best Answer
An Event declaration adds a layer of abstraction and protection on the delegate instance. This protection prevents clients of the delegate from resetting the delegate and its invocation list and only allows adding or removing targets from the invocation list.