.Net C# Delegates and Events, what's difference

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello Friends,
I am just trying to find out the difference between Event and the Delegates. I know this is very basic question but what i am looking is that
1. if we have Delegate (the function pointer) the why one should have Event.
2. why Delegate has to be used with Event.
3. Why we have two different entity (the Delegate and the Event) as the role of both are almost same.
4. What makes these two different from each other (Event and Delegate)?
5. When we should use Delegate and when Event?

Thanks in advance...
<hr class="sig Please mark the response as answers if it solves your question or vote as helpful if you find it helpful. My Blog: http://ashishkhandelwal.arkutil.com

View the full article
 
Back
Top