Merge Conflict
111: The Three Equals of a Struct
We get nerdy again diving deep into the world of struct equality and performance. Sit back and get ready for some operator overloading, IEquatable, performance implications, getting of hash code, amazing C# 7 features, and how ValueTuples save everything!
Follow Us
- Frank: Twitter, Blog, GitHub
- James: Twitter, Blog, GitHub
- Merge Conflict: Twitter, Facebook, Website
- Music : Amethyst Seer - Citrine by Adventureface
⭐⭐ Review Us ⭐⭐
SUPPORT US ON PATREON: patreon.com/mergeconflictfm
Special Thanks to Syncfusion:
Download their e-books:
Sponsored By:
- Syncfusion: Syncfusion offers the largest selection of controls for Xamarin.iOS, Xamarin.Android, and Xamarin.Forms. Check out our components on NuGet and don’t forget to download our Xamarin e-books. ![Syncfusion2018](https://uploads.fireside.fm/images/0/02d84890-e58d-43eb-ab4c-26bcc8524289/DYvAhv8t.png)
Links:
- Performance implications of default struct equality in C# – Dissecting the code
- Struct Design | Microsoft Docs
- .net - What is the best algorithm for an overridden System.Object.GetHashCode? - Stack Overflow
- Uno.CodeGen/Equality Generation.md at master · nventive/Uno.CodeGen
- Optimizing C# Struct Equality with IEquatable and ValueTuples - James Montemagno