How to Declare a Positional Record in C#
record Book(string Title, string Author, int Year); is a whole class in one line: three properties, a constructor, value-based equality and a ToString that shows the values. Its properties can't change once it's created.
