For a method to modify an argument, it must be of a reference type such as an object or array. Objects and arrays are also passed by value, but the value of an object is a reference. So the effect is that arguments of reference types are passed in by reference. Hence the name. A reference to an object is the address of the object in memory. Now, the argument in the method is referring to the same memory location as the caller.
Visto! sono passati per valore, però l'effetto è x riferimento!
Visto che bisogna spiegare, stiamo semplici!:gren:
mi sembra inutile spiegare cose così astratte se poi l'uso è quello che ho indicato io!