LANGUAGE
readonly record struct
Record value type with read-only instance semantics; not deep immutability.
Formal Syntax & Structure
csharp syntaxcsharp
readonly record struct Cell(int Row, int Column);Working Example
Example Snippetcsharp
readonly record struct Cell(int Row, int Column);