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?

524


What is difference between rest and soap?

580


Explain a program using razor view engine to create a simple application? : asp.net mvc

503


What are query strings used for?

534


How can u deifne the benefits and limitation of using Viewstate for state management?

714






How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?

514


Define satellite assemblies.

586


How do I upload a file from my ASP.NET page?

597


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

525


In ViewState How much lifespan items stored?

593


Is asp.net core faster?

548


What is a session http?

521


Can any body provide me the sample web application in asp.net

1439


What is difference between Lambda Expression and LINQ in ASP.NET?

545


Define msil.

551