Stop Using Classes for DTOs: Why It’s Time to Switch to Records

If you are still defining your Data Transfer Objects (DTOs) as classes, you are carrying unnecessary baggage. In the modern C# ecosystem…