0
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 OrderPayment()
                {
                    Guid = p.Guid,
                    CardFlagName = p.CardFlagName,
                    TransactionAmount = Math.Round(p.TransactionAmount, 2),
                    ChangeMoney = p.ChangeMoney,
                    Type = p.Type
                })
                .ToList();
            
            var newPayments = order.Payments.Where(p => p.Status == Status.Activated)
                .Select(p => new OrderPayment()
                {
                    Guid = p.Guid,
                    CardFlagName = p.CardFlagName,
                    TransactionAmount = Math.Round(p.TransactionAmount, 2),
                    ChangeMoney = p.ChangeMoney,
                    Type = p.Type
                })
                .ToList();
I’m comparing denial, in case they’re different
Follow image of the objects:

