c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

c#

How to use C# string Clone

23rd Jan 2020, 7:18 AM
Ishan Shah
Ishan Shah - avatar
1 Answer
0
In C#, Clone() is a String method. It is used to clone the string object, which returns another copy of that data. In other words, it returns a reference to this instance of String. The return value will be only another view of the same data. For more info - [ https://stackoverflow.com/questions/3465377/whats-the-use-of-string-clone# ]
23rd Jan 2020, 7:50 AM
Jella
Jella - avatar