I have a type which I consider use it as struct.
- It represents single value
- It is immutable
But the problem is, it has 6 fields of int.
So which solution I should use for this type?
- keep using struct?
- change to class?
- or pack 6 integers into an array of int, so it has only one field
EDIT
Size of struct with 6 integer fields is 24 bytes, which is huge to pass around. Recommend size for struct is not more than 16 bytes