what is the relation between delegates and events

Answers were Sorted based on User's Feedback



what is the relation between delegates and events..

Answer / yagnesh

An event is declared like a pseudo-variable but based on a delegate. Therefore, to declare an event, you must have a delegate that would implement it.

Is This Answer Correct ?    10 Yes 0 No

what is the relation between delegates and events..

Answer / sujatha

delegates are back bone of events.delegates means refer one
or more functions.with out delegates we can not develop
events.

Is This Answer Correct ?    7 Yes 1 No

what is the relation between delegates and events..

Answer / rummy

events are implemented using delegates. We can say , events are special case of delegates where a subscriber cannot delete other subscriber. He can only subscribe or unsubscribe from event. Framework also standardized event structure to make them consistent.

Is This Answer Correct ?    3 Yes 0 No

what is the relation between delegates and events..

Answer / mani

Actually events use delegates in bottom.But they add an
extra layer on the delegates,thus forming the publisher and
subscriber model.

As compare to delegates events work with source and
listener methodology. So listener's who are interested in
receiving some events they subscribe to the source.Once
this subscription is done the source raises to all of it's
listener's when needed. One source can have multiple
listeners.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

explain about Back ground process control in .net

1 Answers   Digital Mesh, Infronics,


What are the different types of validation controls provided in ASP.NET?

0 Answers   Sans Pareil IT Services,


Mention the namespace that is used to include .net data provider for sql server in .net code?

0 Answers  


Define application state variable and session state variable?

0 Answers   UGC Corporation,


I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?

7 Answers   eMids, Infotech, Integra, TCS, Wipro,






Which is better asp.net or php?

0 Answers  


What are the different properties of server control that exists?

0 Answers   Cap Gemini,


What are runtime hosts?

4 Answers   Microsoft,


Where is cookie used in asp.net?

0 Answers  


What is content page in asp net?

0 Answers  


if i have placed the button control with the OnClick event like <asp:Button ID="mybutton" runat="server" Text="Insert" onclick="mybutton_Click" /> and some other controls(buttons, textboxes) in .aspx page. When i run the page, the button displays in the page source of the browser like <input type="submit" name="mybutton" value="Insert" id="mybutton" /> here, it does not display the onclick event, then how the page calls the button click on the server side, how the server side identify which button cause the submit, and how this page moves to the server side.

1 Answers  


What is the life-span of the items in the viewstate?

0 Answers  


Categories