Various ideas given by delegate

What are the various ideas given by delegate? Describe in brief.

E

Expert

Verified

It must provide you an idea of some various areas in which the delegates might be suitable:

a) They allow callback functionality in the multi-tier applications.

b) The CacheItemRemoveCallback delegate can be employed in the ASP.NET to keep cached information up to date. Whenever the cached information is eliminated for any reason, the related callback is exercised and could hold a reload of cached information.

c) Use delegates to ease the asynchronous processing for methods which do not provide asynchronous behavior.

d) Events utilize delegates so clients can provide the application events to call whenever the event is fired. Exposing custom events in your applications needs the use of delegates.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.