C
C#2y ago
Gladiator

❔ Generally, how do you implement a readonly struct?

Hi. Generally, how do you implement a readonly struct? I mean define readonly fields or getter? What is the difference? What about defensive copy? Suppose that struct type contains primitive value types like int, float and also other struct types
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server