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
What is strongly typed view?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
What is property in c#?
list the steps in code compilation in c#?
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
Why do we use lambda expression in c#?
Any problem found in vs.et
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?
Can datetime be null c#?
What is the purpose of static?
What are extension methods and where can we use them?
What is the purpose of dictionary in c#?
How can you reference current thread of the method ?
What is the difference between const and readonly in c#.net?
Can we extend static class in c#?