关于[C# 9 Record Types]的摘要:
We have taken a quick look at C# 9 Initializers and Immutability and C# 9 Non-Destructive Mutation. Let’s now look at the full transformation from an old class to a super character-light record type. Our original record type is very much just a class with two auto-properties. It looks different to a normal class because we have the data keyword in there.
原文地址: https://www.stevefenton.co.uk/2020/05/csharp-9-record-types/