Optimizing C# Struct Equality with IEquatable and ValueTuples

added by DotNetKicks
8/17/2018 12:48:53 PM

1770 Views

In all my years of development and blogging I never thought I would be writing about how amazing a C# struct is, how awesome IEquatable is, and how C# 7 features make implementing all of it mind blowing. In Xamarin.Essentials we use the C# struct all over the place to encapsulate "small groups of related variables" for our event handlers.


0 comments