Q:

What’s the difference between the System.Array.CopyTo() and System.Array.Clone() ?

0

What’s the difference between the System.Array.CopyTo() and System.Array.Clone() ?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Using Clone() method, we create 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 methods perform a shallow copy.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now