Guest MemberLanguage   English
.NET & C# · C#

What is a common mistake with records and immutability in C#?

IntermediateUpdated 2026-08-08

A common mistake is assuming a record makes every referenced child object immutable. A record can still contain mutable members unless those members are designed carefully.

#csharp#records and immutability