what is the relation between delegates and events
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What are runtime hosts?
What are the advantages of passport authentication?
What is application variable and when it is initialized ?
How to merge 2 tables fields in DataTable in asp.net
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
What are server objects?
What is data reader in asp.net?
What is validation in asp.net?
How to write test case (Unit test plan)
Explain what a diffgram is and a good use for one?
1 Answers Siebel Systems, Syntax Softtech,
Can you nest updatepanel within each other?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)