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
What is the use of delegate?
What does exclamation mark mean in access query?
Can we have 2 main methods in c#?
Explain how do you debug an asp.net web application?
What is the purpose of private constructor in c#?
What is the difference between int.parse and int.tryparse methods?
What is a singleton unity?
What are bitwise logical operators?
Why are c# strings immutable?
What is data quality assurance?
In howmany ways can you deploy an assembly?
How many digits are in an integer?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
How to rotate an Image in C#?
What is an arraylist in c#?