Skip to main content
2 of 6
improved formattig, proposed answer
iChaib
  • 477
  • 4
  • 10
  • 17

when & why to use delegates?

I'm relatively new in c#, & I'm wondering when to use Delegates appropriately. they are widely used in events declaration , but when should I use them in my own code and why are they useful?, why not to use something else?

I'm also wondering when I have to use delegates and I have no other alternative.

Thx for the help.

EDIT: I think I've found a necessary use of Delegates here

iChaib
  • 477
  • 4
  • 10
  • 17