Delegates, can’t live with them, can’t live without them.
There is a famous quote by Jim Henson:
“ If you can’t beat them. Join them “.
It’s possible to write code for years without deliberately using delegates. I say “deliberately” because we may have used them without realizing it. Knowing what these types represent makes reading code easier. Knowing how to use them adds some useful tools to our developer toolbox. So instead of ignoring them, why not learn them. In this post, I will show you how you can get started…