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 data bind in c#?
Ho we can see assembly information?
Why to use lock statement in c#?
Explain about finalize method?
What are sorted lists?
What Is The Smallest Unit Of Execution In .net?
What is data types in c#?
What is an interface class in c#?
Where do we set the min and max pool size for connection pooling?
What is session variable in c#?
How many constructor can a class have?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
How many bytes is a char c#?
What is the process of Serialization?
Different between method overriding and method overloading?