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
What is .NET Framework? .NET Framework is a complete environment that permits developers to develop, run, and deploy the following applications:     Windows services

Passport Authentication This is a centralized authentication service given by Microsoft that offers a single logon facility and membership services for participating sites. ASP

What is the difference between Class and structure's? The main differences between them are as follows:- 1) The Structure is value types while classes are referen

Differentiate between the while and for loop in C#. The while and for loops are used to implement those units of code that require to be repeatedly executed, unless the result

What Is The Difference Between ViewState and SessionState? View State persist the values of controls of certain page in the client (browser) when post back operation done. When

Explain the concept of constructor? Constructor is a special method of a class, which is called automatically when the instance of a class is formed. It is created with the sam

What is black box testing & White box testing? The Black box testing is also termed as functional testing. It ignores how the internal functionality of a system works & depends

Web Application and Web Service For this part of the assignment, you are to develop a web application and web service using technologies and techniques taught in this subject

Experienced Microsoft .NET web developer The developer must be reliable as well as most of all use best practices for coding as well as application design. a) .NET 3.5 (ideal