What is Delegation Model and Delegates in Advance C#.NET?

Questions by ashishsarangi   answers by ashishsarangi

Showing Answers 1 - 3 of 3 Answers

The Deligate means the person working for anotehr person  same in C# method working for another person ,

 " Clr provide the faciltity to register a call back function with with contol  and this control call this call back function when particular event occure"

  Was this answer useful?  Yes

miral

  • Mar 17th, 2006
 

Delegates mean It's Pointer To a Function.

Other Events can be raised without direct user's action...

For E.g.Email is Receive

  Was this answer useful?  Yes

akhilesh kumar srivastava

  • May 8th, 2006
 

actualy delegates in c# are just like function pointers in c++,the best example is ado.net where sql command works as a deligte because it provide the functonality of three metods

1.Execute Reader():-reads the command

2.Execute Nonquery() :like insert, update and returns 0 0r -1

3.Execut Scaler():calculation perpose like max,avg.

we pass only exact parameters same as metod to the delegate to get the result process by the exact method.any  comment u can write me

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions