Monthly Archives: April 2017

Do you know you can override the == operator ?

Yes you can! In order to override equality in Value Types we should : implement IEquatable override object.Equals() implement == implement != implement object.GetHashCode() Check Simon Robinson course on Pluralight about C# Equality and Comparisons Advertisements

Posted in c# | Leave a comment