0
In my application, there is a chained list of elements. I need to perform an operation to change a data of the chosen element. The question is: can I do in this way as I did below searching for the object and changing the data right there or need to access the direct object of the list and change it there? If I make a change to the object outside the list, the object inside will also change?
Nodo origem = anel.buscar_nodo(msg.id_origem);
origem.msg_e.Add(msg);
Can or can’t? When you debugged, what happened?
– Leandro Angelo