record
A type built for holding data, with value-based equality.
A record (class or struct) gets compiler-generated value equality, ToString, and with-expression support.
Examples
With
record Address(string Street, string City);, two addresses with the same street and city are==.
See also