Where would you use the new C# 9 Record Type
klyse
Posted on November 18, 2020
I found a great post by wrijugh.
Wriju explains the new C# Record Type.
I am excited about this feature, but I'm not 100% sure when I should use it and when I should stick to a class. Mads Torgersen provided some insights there in his presentation on C# 9 during the .net conference but I'm actually more interested in the practical side.
How do you plan on using this new feature? Do you think there are issues one has to think about when one uses the new Record Type? Do you think Record Types should be used for deserialization of a json string? Are you going to migrate from classes to Record Types?
Let me know in the comments :)!
💖 💪 🙅 🚩
klyse
Posted on November 18, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.