What is the difference between delegate and events?
c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ankur JainRank #2,475 · 567 reputationPosted Oct 25, 2014, 3:30 AM EDT
you may consider following links...please mark it as answer if its useful....
http://csharpindepth.com/Articles/Chapter2/Events.aspx
http://www.codeproject.com/Articles/4773/Events-and-Delegates-simplified
VulpesRank #55 · 29.2K reputationPosted Oct 25, 2014, 4:42 AM EDT
This ensures that subscribers to the event don't know anything about and can't interfere with other subscribers.
Events also support custom accessors using the add and remove keywords though they are seldom used in practice.