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 |
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
Why is mvc better than asp.net?
Can you dynamically assign a Master Page?
What is _dopostback in asp net?
What are the types of authentications in ASP.NET?
2 Answers Accenture, BirlaSoft,
How do we invoke queries from the application?
In a webpage if i want to give access to only half page ,then what should i do?
What is custom events? How to create it?
How does cookies work in asp net?
Can we have multiple master pages in asp net?
what are the ihttphandler and ihttphandlerfactory interfaces ?
In asp.net, if a webpage seems too slow to load completely in th ebrowser. In this case what are the checkings or actions you will take to rectify the slowness or which are the factors related to this issue? How we can trace it?
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)