Add articles on record structs #25484
Labels
🏁 Release: .NET 6
Issues and PRs for the .NET 6 release
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
Pri1
High priority, do before Pri2 and Pri3
C# 10 adds
record struct
types. These types follow value semantics (as all value types do). The compiler generates many of the same methods as it does forrecord
types. Some aren't applicable because they are only needed to support inheritance forrecord
types.In addition,
record
types can be declared asrecord class
types to avoid potential confusion withrecord struct
types.Feature specification: Record structs
The text was updated successfully, but these errors were encountered: