r/csharp • u/PatrickSmacchia • Oct 12 '20
C#9 records: immutable classes
https://blog.ndepend.com/c9-records-immutable-classes/
115
Upvotes
r/csharp • u/PatrickSmacchia • Oct 12 '20
View all comments
Show parent comment
3
u/otm_shank Oct 12 '20
Surely the implementation-dependent storage lifetime of records vs structs is less important than the actual semantic differences between the two?
Not to mention, structs end up on the heap all the time.