witajcie potrzebuje lekkiej pomocy przy (wy)tlumaczenia przesylania parametrow
z tej stronki
http://www.yoda.arachsys.com/csharp/parameters.html
od momentu "Value parameters"
"By default, parameters are value parameters. This means that a new storage location is created for the variable in the function member declaration, and it starts off with the value that you specify in the function member invocation. If you change that value, that doesn't alter any variables involved in the invocation. For instance, if we have: "
kod 1
i pozniej
"The value of y isn't changed just because x is set to null. Remember though that the value of a reference type variable is the reference - if two reference type variables refer to the same object, then changes to the data in that object will be seen via both variables. For example: "
kod 2
czy moze ktos przetlumaczyc te fragmenty
nie rozumiem dlaczego w pierwszym kodzie wartosc w 'y' nie zostala null
w drugim kodzie dodany zostal lancuch bez zadnych przeszkod