2 ms·
My understanding is C#'s behavior around structs is identical, except it is not called "copy-on-write". From what I see this behavior is identical to copy-alway
by lostmsu 7y ago
My understanding is C#'s behavior around structs is identical, except it is not called "copy-on-write". From what I see this behavior is identical to copy-always from language spec standpoint of view. If an actual copy is created is down to the code generator, but semantics is the same.
- danielscrubs 7y agoYeah, I really shouldn't have lumped C# and Java together, sorry about that.