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 are nullable types in c#
Is a decimal an integer?
If I return out of a try/finally in c#, does the code in the finally-clause run?
Can properties be private in c#?
What is the difference between mobile application and desktop application?
How many types of namespaces available in version4?
Which debugging tools you can use in the .NET ssSDK?
What is the purpose of private constructor in c#?
What are the different types of classes?
What is the difference between dll and lib?
Who benefits from ajax?
What is xaml file in c#?
What is bitwise operator in c#?
Is it true that all c# types derive from a common base class?
Does the system.exception class have any cool features?