Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between delegates and events in c#?



What is the difference between delegates and events in c#?..

Answer / Nirmal Kishore Pandey

In C#, a delegate represents a method with a specific return type and parameters. An event, on the other hand, is a special kind of delegate that allows multiple methods (event handlers) to be added, removed or fired at runtime. Delegates can be used for many purposes beyond events, while events are built specifically around multicast functionality.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do I enforce const correctness in c#?

1 Answers  


What is managed or unmanaged code?

1 Answers  


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1 Answers  


What are delegate methods?

1 Answers  


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1 Answers  


Can you describe iuknown interface in short?

1 Answers  


What is a protected class in c#?

1 Answers  


can we declare a variable by name "this" in a class? Please explain?

3 Answers   IBM,


What do you mean by hashtable c#?

1 Answers  


What does addressof operator do in background ?

1 Answers  


What are delegates and why are they required?

1 Answers  


Can two catch blocks be executed?

13 Answers  


Categories