Andrej Mitrovic Wrote: > I agree that in this case s1 and s2 will remain the same. But this has to do *not just* with immutability, but with the fact that s1 is passed by value. I think that should be mentioned here. > In the first example a string reference is passed by value. In the second example a string reference is passed by reference.