I’ve used the event keyword in C# for a long time without really understanding what it does. It turns out it’s a lot simpler than I imagined. Once you understand how function delegates work, it’s just one tiny modification to get to events.

https://youtu.be/gSwGta2cJ_Y via /r/csharp https://ift.tt/2NMkGyA
Categories: Uncategorized