Skip to content

Outdated statement about record types always being reference types #49449

@LianaMkhoyan

Description

@LianaMkhoyan

Describe the issue or suggestion

In the [C# Fundamentals / Type System / Overview] (https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/#:~:text=Types%20that%20you%20define%20by%20using%20the%20class%20or%20record%20keyword%20are%20reference%20types.) the documentation says: "Types that you define by using the class or record keyword are reference types.". However, since C# 10 introduced record struct, this statement is no longer accurate.
Thanks for maintaining these excellent docs — just a small fix to keep them up to date!


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions