526 Views
With PostSharp's new free NuGet package, you can just add [StructuralEquality] to your classes, and a field-by-field Equals and GetHashCode methods will get implemented without other changes to your code.
0 comments
Join in on a hand-picked round up of the best .NET articles every day.
Curated by our Moderators and Voted up by our Community. Free.
With PostSharp's new free NuGet package, you can just add [StructuralEquality] to your classes, and a field-by-field Equals and GetHashCode methods will get implemented without other changes to your code.