C# Basics: Delegates

Delegates are one of the most used features of C#. They allow you to pass a function as a function pointer. It is kind of the same as a function pointer in C++.
Put simply, delegates are the same as a function pointer in C ++. They refer to another function.

Link: https://dzone.com/articles/c-basics-delegates?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev