Delegate

Delegate

The delegate in C#. Like someone said: “Never understood delegates for the last 5 years except that it is function pointer.” That could be me. That concept is not that difficult: a delegate is a variable in the code, but instead of a value it is used to refer to a method.