I have 3 objects of the same type with different values of their property. I would like to add them together as follow : For example And what I want a result like is it possible to add them? And if not, do you suggest any efficient way of coding for this instead of having three different types for each