what is the relation between delegates and events

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about secure socket layer?

522


Explain the components of web form in asp.net

541


How many types of controls are there in asp.net?

526


How does session work?

509


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

1948






What is web api and why to use it?

555


What are the different types of validation controls in asp.net?

520


How do u declare static variable and how it is declared and what is its lifetime?

515


What is the difference between a candidate key and primary key?

519


What is route in web api?

529


3. What goals do you have in your career?

1420


What is Pre-Render event in ASP.NET?

588


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

434


What is mvc in asp.net interview question? : Asp.Net MVC

489


What are the asp.net security controls?

548