Delegate (C#)

A delegate is a type that holds a reference to a method, letting you store and pass methods around like variables. It is the foundation of callbacks, events…