Glossary: C# Beyond the Basics
with expression
Also written: with
Copies a record and changes the properties you name, such as `item with { OnHand = 9 }`. The original record is untouched.
Glossary: C# Beyond the Basics
Also written: with
Copies a record and changes the properties you name, such as `item with { OnHand = 9 }`. The original record is untouched.