Record Patterns (Preview)

GPTKB entity

Statements (11)
Predicate Object
gptkbp:instanceOf C# language feature
gptkbp:allows deconstruction of record types in switch expressions
gptkbp:documentation https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/record-patterns
gptkbp:enables matching on record types in patterns
https://www.w3.org/2000/01/rdf-schema#label Record Patterns (Preview)
gptkbp:introducedIn gptkb:C#_10.0
gptkbp:partOf pattern matching
gptkbp:status preview
gptkbp:supportedBy gptkb:.NET_6
gptkbp:bfsParent gptkb:JDK_20
gptkbp:bfsLayer 6