When should you use struct and not class in C#? My conceptual model is that structs are used in times when the item is merely a collection of value types. A way to
Briefly, use struct if:
your object properties/fields do not need to be changed. I mean you just want to give them an initial value and then read them.
properties and fields in your object are value type and they are not so large.
If that's the case, you can take advantage of structs for a better performance and optimized memory allocation as they use only stacks rather than both stacks and heaps (in classes)