Q:

What is the difference between methods – “System.Array.Clone()” and “System.Array.CopyTo()” ?

1

What is the difference between methods – “System.Array.Clone()” and “System.Array.CopyTo()” ?

All Answers

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

“CopyTo()” method can be used to copy the elements of one array to other.

“Clone()” method is used to create a new array to contain all the elements which are in the original array.

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

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Explain Partial Class in C#?... >>
<< What are the differences between static, public an...