LANGUAGE
Positional record
Declares a record with generated positional properties and deconstruction.
Formal Syntax & Structure
csharp syntaxcsharp
record Name(Type Property);Working Example
Example Snippetcsharp
record Label(string Text);Declares a record with generated positional properties and deconstruction.
record Name(Type Property);record Label(string Text);