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
Project Description: We need to construct services in C# or VB.NET that can manipulate with a Targin TIP Protocol Server (protocol for financial information exchange), receive d

TSQL Function SQL Server 2012 Project Description: I require someone to prepare a TSQL function that returns the name of the ODBC DSN. I will use the queries below, to get

I need to Develop a real state website We want a programmer who can create a website using html5, css3, jQuery, php, MySQL. All connected to a CRM to accomplish all the informat

What is a candidate key? A table may have more than one combination of columns that could uniquely identify the rows in a table; every combination is a candidate key. During th

Media Player App Development for Windows 8.1 platform with outstanding UI, flexible controls and simple to use. The app should be consist of 1. Normal player controls 2. s

Why do we use the XMLHttpRequest object in AJAX? The XMLHttpRequest object is used by JavaScript to transfer XML and other text data among client and server. The XMLHttpRequest

how to write a postfix expression calculator program using c#

How do I write common code for different dot net framework data providers?

How do we enable SQL Cache Dependency? Below are some of the steps to enable the SQL Cache Dependency:- Enable the notifications for database. Enable the notificatio

WFP and windows hook drivers expert required Project Description: I want a class which will have a function to block a particular url. I want this to be done using Windows