+ 1
What's the use of delegates in c#?
Delegate is reference type of variable that holds the reference to a method.The reference can be changed at runtime
6 Respostas
+ 20
This page is very informative, you can read about delegates here https://msdn.microsoft.com/en-us/library/ms173171.aspx
0
Delegates like a function pointer
Delgates hold reference of method.
It change run time
0
forever alone
0
hola
0
For general understanding of delegates, this guy's series on them was very helpful for me. https://youtu.be/G5R4C8BLEOc
0
Delegate is the reference to different object or which holds reference in class of the other object