What?s the difference between the System.Array.CopyTo() and
System.Array.Clone()?
Answer Posted / satish
System.Array.CopyTo() performs the deep copy that is it
creates a new duplicate copy without effect of old one.
Whereas Clone creates as shallow copy but as it is a clone
so it is linked with the old one so affect whenever changes
occures in the old one.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How do I download a program to my desktop?
How can you reference current thread of the method ?
What are extensions methods in c#?
What is a decimal c#?
Describe ado.net?
How do I create a multi language, multi file assembly?
Why c# is type safe?
What is transparent caching with aop ?
What is mvc pattern in c#?
What is routing in c#?
Why do we need interface in c#?
Is dictionary a collection?
Can an int be negative c#?
What you mean by delegate in c#?
Explain the types of errors in c#?