What's New in C# 10: Value Type Records

added by DotNetKicks
12/3/2021 3:59:22 AM

338 Views

This is part of a series on the new features introduced with C# 10. In a previous post I wrote about records in C# 9.Prior to C# 10 record types were reference types. In C# 10 you can now declare records as value types. You declare a value record type by adding the struct keyword.


0 comments