Mono Class Library: System.String Overview | MembersSystem.String.Clone Method |
Returns a reference to the current instance of string. [Edit]
|
A reference to the current instance of string. [Edit]
Note:[Edit]string.Clone does not generate a new string instance. Use the string.Copy(string) or string.CopyTo(int, Char[], int, int) method to create a separate string object with the same value as the current instance.
This method is implemented to support the ICloneable interface.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0