Delegates works for a function as a function.
Delegate in C# is similar to function pointer in C, C++.
Using delegate allows to encapsulate a reference to a method inside a delegate object.
Delegates are object-oriented, type-safe and secure unlike pointers in C, C++.
Delegate in C# is similar to function pointer in C, C++.
Using delegate allows to encapsulate a reference to a method inside a delegate object.
Delegates are object-oriented, type-safe and secure unlike pointers in C, C++.
No comments:
Post a Comment