Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Events and Delegates-why not just Delegates?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello.This may seem like a weird question but here we go:
I totally understand the concept of events and delegates,but I don't understand why do we need Events.Afterall,everything Event does could be done with delegate.Just like Event Delegate could also signal
to suscribed methods something happend?I don't see the benefit of Events and that's just annoying me(why did developers include Events in C#,why didn't they use just delegates for that?) !
So can anyone tell why don't we have just Delegates and why don't they signal that something happened?

Thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top