79737204

Date: 2025-08-16 13:24:14
Score: 2
Natty:
Report link

@kjgilla: A different but possibly simpler approach could be,

n = n
    .Distinct
    (
        System.Collections.Generic.EqualityComparer<dynamic>.Create
        (
            (x, y) => x?.Vchr == y?.Vchr,
            o = o.Vchr.GetHashCode() ^ o.Id.GetHashCode() ^ o.Ctr.GetHashCode() ^ o.Vendor.GetHashCode() ^ o.Description.GetHashCode() ^ o.Invoice.GetHashCode()
        )
    )
    .ToList();
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @kjgilla
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Soumya Dutta