What is a delegate?

Advertisement

  • A delegate is an object or collection initializer that adds flexibility, readability and maintainability in C#.
  • A delegate in .NET is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.
  • A delegate is a collection initializer that adds flexibility, readability and maintainability in .NET.
  • A delegate is an extension method. Using a delegate allows the programmer to add flexibility, readability and maintainability in .NET.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend