G
Guest
Since a String is a reference type, it would not be a copy, simply a change
in references. At the end s1 and s2 point to the same place in memory. If
you want a copy, then make a copy - that's why the Copy method exists.
Since it's simply moving a reference it's thread safe.
in references. At the end s1 and s2 point to the same place in memory. If
you want a copy, then make a copy - that's why the Copy method exists.
Since it's simply moving a reference it's thread safe.