LANGUAGE
Record deconstruction
Extracts positional record members via generated Deconstruct where applicable.
Formal Syntax & Structure
csharp syntaxcsharp
var (a, b) = recordValue;Working Example
Example Snippetcsharp
var (code, count) = new Stock("A", 2);record Stock(string Code, int Count);