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 language is asp.net written in?
What is the use of session state and application state and difference between them?
what is the relation between delegates and events
Hi, We have a user control that have button Now we use this user control on different aspx pages. We want when we click on the user control button then button behave differently on different page (Dynamacilly).
How use Xml data in ASP.net?
Explain managed code an un-managed code.
What is difference between session and cookies?
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.
Please briefly explain the usage of global.asax?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
What are the Types of authentications in IIS
Can you explain the basic use of dataview?
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)