dotnet / dotnet/docs

The introduction to records should get an edit pass

Open
#44,233 0 comments 0 reactions 0 assignees View on GitHub
user-feedback
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

### 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](https://github.com/dotnet/docs/issues?q=is%3Aissue+is%3Aopen+8991024e-b64a-bc2a-9612-5649d89bda2b)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.