Difference between delegate and events, DOT NET Programming

What is the difference between delegate and events?

Actually events use delegates in the bottom. But they also add an extra layer on the delegates, hence forming the publisher and the subscriber model.

As the delegates are function to pointers they can move across any clients. So any of the clients can remove or add events, which can be much confusing. But the events provide the extra protection by adding the layer and making it a publisher and subscriber model.

Posted Date: 9/22/2012 3:08:00 AM | Location : United States







Related Discussions:- Difference between delegate and events, Assignment Help, Ask Question on Difference between delegate and events, Get Answer, Expert's Help, Difference between delegate and events Discussions

Write discussion on Difference between delegate and events
Your posts are moderated
Related Questions
Explain assemblies An assembly is a single deployable unit that having all the information about the implementation of : - classes - structures and - interfaces An

Project Description: Take a CSV of Canadian street addresses. For every address, translate the address into a GPS coordinate. Use the GPS coordinate to test whether or not the a

Question: (a) Give three key differences between the DetailsView and FormView controls. (b) The ASP.NET 2.0 Framework introduces the idea of validation groups. How Valida

What's the use of resource manager class? The ResourceManager class helps us to read the resource files and get the values by using key. At First you require to create the obje

Question: (a) Define four special target names use with the TARGET attribute. (b) Assume that you have a document with many subsections. Write the HTML code to create a fr

Project Description: I want a new payment gateway of my own. Anyone who has previous experience in preparing a new payment gateway. I mean new payment gateway not any integratio

We need in ASP.NET Mvc site I have project should be done with MVC.NET technology. In general- I have by now the site Layout (Html-js-css) I need- a) Simple CMS allo

What's difference between "Optimistic" and "Pessimistic" locking? In the pessimistic locking when user wants to update a data it locks the record and till then no one can updat

Project Description: I'm presently seeking at least one more coder that will help me out manage all my concepts and in that way we will share each other's experience and make te

Medical related application in .NET (document, Videos editing must) Project Description: I am seeking a .NET Web application which can do the subsequent: 1. Taking patient