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 difference between int and int in c#?
What you mean by inner exception in c#?
Why do we use constructors in c#?
What is the function of the not null constraint?
Why do we use static methods in c#?
What is int32 maxvalue?
What is the keyword used to prevent a class from being inherited by another class?
Can you have more than one namespace in c#?
How do you prevent a class from being inherited in c#?
Is there throws keyword in c#?
What is dll in vb.net?
What is a method signature?
What do you mean by directing?
What is the resgen.exe tool used for?
explain the three services model commonly know as a three-tier application.