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 |
Why is this service branded with windows livetm?
what is shared assembly asp net
I have a component with 3 parameter and deployed to client side now i changed my dll method which takes 4 parameter.How can i deploy this without affecting the clent?s code ?
1 Answers Microsoft, Satyam, Wipro,
what is view state
5 Answers Microsoft, Siebel Systems,
how we deploy the asp.net 2.0 application
How do you use css in asp.net?
What is marshalling ? Is it a part of asp.net ?
Difference between ADO.Net 1.1 and ADO.Net 2.0 ?
Explain the role of global.asax?
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.
2 Answers Microsoft, Syntax Softtech,
Which method is used to force all the validation controls to run?
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
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)