What?s the difference between the System.Array.CopyTo() and
System.Array.Clone()?
Answer Posted / jiturcm
System.Array.CopyTo() performs deep copy and shallow.
Where as System.Array.clone() performs shallow copy.
System.Array.CopyTo() doesn't create new Array
System.Array.clone() create new Array of same length of existing array.
If System.Array.CopyTo()can perform both deep copy and
shallow then why System.Array.clone ?
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Define parsing?
Does c# support properties of array types?
What is orm in c#?
What are the fundamental principles of oo programming?
Are there functions in c#?
What you mean by delegate in c#?
What is the difference between list and dictionary in c#?
What is the advantage of singleton class?
What is class method c#?
What is datetime minvalue in c#?
What does type safety mean?
Is c# used for any core features of windows vista?
Is c# a keyword?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is the system namespace?