Introduction
Records help you create simple, immutable data containers easily. They automatically provide useful features like value equality and readable string output.
When you want to store data that should not change after creation, like a person's name and age.
When you need to compare two data objects by their content, not by their location in memory.
When you want a simple way to print or log data objects with clear information.
When you want to create data objects quickly without writing lots of code for properties and methods.