Posts by Guilherme FGR • 19 points
2 posts
-
1
votes1
answer23
viewsA: Identical objects with same value fields returning different C#
Objects that are not pointed by the same memory address are considered different What can be done is override the class Equals If it is a list you can create a list class of the object to be…
-
0
votes1
answer23
viewsQ: Identical objects with same value fields returning different C#
Identical objects with equal fields returning different when comparing with Equals or == var oldPayments = orderNotTrack.Payments .Where(p => p.Status == Status.Activated) .Select(p => new…