What's the difference between the System.Array.CopyTo() and System.Array.Clone() ?
What's the difference between the System.Array.CopyTo() and System.Array.Clone() ?
Answer
Using Clone() method, we creates a new array object containing all the elements in the original array and using CopyTo() method, all the elements of existing array copies into another existing array. Both the methods perform a shallow copy.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website