What is delegate.


=> A delegate is similar to a class that is used for storing the reference to a method and invoking that method at runtime as required. A delegate can hold the reference of only those methods whose signature are same as that of the delegate. Some of the examples of delegate are type-safe functions,pointers or callback.

Share

& Comment

0 comments:

Post a Comment

 

Copyright © 2019 HART™ is a registered trademark.