❔ 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
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.