# Records and the 'with' operator, redux

DevFeed: [Records and the 'with' operator, redux](<https://devfeed.tech/articles/records-and-the-with-operator-redux-30703.md>)

Original publisher: [Read original article](<https://codeblog.jonskeet.uk/2025/07/29/records-and-the-with-operator-redux/>)

Author: jonskeet

Published: 2025-07-29T20:00:38Z

Content type: opinion

Language: en

Sources: [Jon Skeet](<https://devfeed.tech/sources/jon-skeet.md>)

Topics: [C#](<https://devfeed.tech/topics/csharp.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Code review](<https://devfeed.tech/topics/code-review.md>)

Tags: [blog-post](<https://devfeed.tech/tags/blog-post.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [election-2029](<https://devfeed.tech/tags/election-2029.md>)

## AI overview

A follow-up examination of an unexpected aspect of C# record types and the `with` operator. The article argues that the behavior is correct according to the documentation, but easy to misunderstand because readers may interpret `with` as changing properties on an object rather than creating a new record with different construction parameters.

## Source excerpt

In my previous blog post I described some behaviour of C# record types which was unexpected to me, though entirely correct according to the documentation. This is a follow-up post to that one, so if you haven't read that one yet, please do so - I won't go over all the same ground. Is this ... Continue reading Records and the 'with' operator, redux ->