关于[Bite-Size C# 10 - Anonymous 'with' Expressions]的摘要:
Let's make our anonymous objects easier to copy using the with expression! Introduced in C# 9.0, the with keyword was designed to create record objects from other record objects in a non-destructive manner; that is, create a copy of a record and change one or more properties.
原文地址: https://exceptionnotfound.net/bite-size-csharp-10-anonymous-with-expressions/