0 like 0 dislike
18 views
by

What is delegate?

1 Answer

0 like 0 dislike
by

A delegate acts like a strongly type function pointer. Delegates can invoke the methods that they reference without making explicit calls to those methods. It is type safe since it holds reference of only those methods that match its signature. Unlike other classes, the delegate class has a signature. Delegates are used to implement event programming model in .NET application. Delegates enable the methods that listen for an event, to be abstract

Welcome to NETRAANSWERS.COM, where you can ask questions and receive answers from other members of the community.
...