docs icon indicating copy to clipboard operation
docs copied to clipboard

Clarify record equality

Open Suchiman opened this issue 1 year ago • 0 comments

Records do not specifically use reference equality on reference types, they compare members using EqualityComparer<T>.Default.Equals which means that overriden Equality is respected


Internal previews

📄 File 🔗 Preview link
docs/csharp/fundamentals/types/records.md Introduction to record types in C#

Suchiman avatar May 17 '24 13:05 Suchiman