Delegates in c#

added by pavanarya
3/25/2012 10:29:40 AM

0 Kicks, 60 Views

Delegates in .Net are something like function pointers in c or c++. Delegates are .Net objects that points to some functions and the criteria is the delegates signature as well as functions signature should match. So when ever we are creating and making use of Delegates we are supposed to keep certain points in our mind. 1.The delegate’s and the functions signature should be same. 2. Number of parameters in the delegate should match with functions parameter list. Delegates are derived from Delegates class and they are sealed and we cannot extend delegates.


0 comments