Community

Performance implications of default struct equality in C#

(Sergey Teplyakov) If you’re familiar with C#, then you most likely heard that you should always override Equals and GetHashCode for custom structs for performance reasons. To better understand the importance and the rationale behind this advice we’re going to look at the default behavior to see why




Facebooktwittergoogle_plusredditpinterestlinkedinmail