LANGUAGE

record struct

Value type with generated equality and positional members.

Formal Syntax & Structure

csharp syntaxcsharp
record struct Cell(int Row, int Column);

Working Example

Example Snippetcsharp
record struct Cell(int Row, int Column);
C# & .NET Reference