Wednesday November 25th

C# Delegate Shortcut – No more null testing on events for subscribers

Do you use this syntax? It adds up as you can leave null tests in the dust for event subscribers: EXAMPLE: public event EventHandler<AnimationImageEventArgs> AnimationImageClicked = delegate { }; Post has full details, but most might already know this. If not your wasting cycles.


Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network