0

What is delegates in c#?

26th Sep 2019, 10:30 AM
Vardan Davtyan
Vardan Davtyan - avatar
2 odpowiedzi
+ 4
A delegate is an object which refers to a method or you can say it is a reference type variable that can hold a reference to the methods. Delegates in C# are similar to the function pointer in C/C++. It provides a way which tells which method is to be called when an event is triggered.
26th Sep 2019, 10:37 AM
Jella
Jella - avatar
0
Ok, thanks
26th Sep 2019, 10:51 AM
Vardan Davtyan
Vardan Davtyan - avatar