Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The introduction to records should get an edit pass #44233

Open
BillWagner opened this issue Jan 13, 2025 · 0 comments
Open

The introduction to records should get an edit pass #44233

BillWagner opened this issue Jan 13, 2025 · 0 comments
Labels
user-feedback Issues related to "Unified User Feedback".

Comments

@BillWagner
Copy link
Member

BillWagner commented Jan 13, 2025

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

  • ID: 64271119-b153-2e7c-8f43-1fd1d4c1dbcb
  • Service: dotnet-csharp
  • Sub-service: fundamentals

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-feedback Issues related to "Unified User Feedback".
Projects
None yet
Development

No branches or pull requests

1 participant