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
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