Skip to content

Glossary: C# Beyond the Basics

positional record

Also written: record

A record whose values in parentheses, such as `record FlatRate(string Carrier, decimal Price)`, automatically become properties and constructor parameters. A `with` expression copies it with changes.

Where the book teaches it

Related terms

with expression