Pattern for dealing with null handler for events in C#
If you’ve used events in C# before, you’ve probably written code like this too: This is perfectly ok and normal to do, but can quickly become tiresome if you have to fire events in multiple places in your code and have to do a null reference check every time! So instead, I have been using …
Pattern for dealing with null handler for events in C# Read More »