What is a delegate?

Junior C#

Answer

A delegate is a type that holds a reference to a method.

It enables methods to be treated as objects and passed as parameters.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice