what is the use of delegates in c#?
Answers
Answered by
1
Delegates are objects that contain information about the function rather than data. We can encapsulate a reference to the method inside the delegate object. They are similar tofunction pointers in C and C++ but the difference between delegates andfunction pointers is that delegates are type safe
Similar questions