You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This paragraph makes very little sense:"For records, value equality means that two variables of a record type are equal if the types match and all property and field values compare equal. For other reference types such as classes, equality means reference equality by default, unless value equality was implemented. That is, two variables of a class type are equal if they refer to the same object. Methods and operators that determine equality of two record instances use value equality."
Type of issue
Outdated article
Description
This paragraph makes very little sense:"For records, value equality means that two variables of a record type are equal if the types match and all property and field values compare equal. For other reference types such as classes, equality means reference equality by default, unless value equality was implemented. That is, two variables of a class type are equal if they refer to the same object. Methods and operators that determine equality of two record instances use value equality."
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/records
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/fundamentals/types/records.md
Document Version Independent Id
8991024e-b64a-bc2a-9612-5649d89bda2b
Article author
@BillWagner
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: