What is the difference b/w Arry.copy() and array.clone()
method?
Answer Posted / chauhan rakesh botad
Array.Copy() copies all contents of original array to
another array by specied index of original array while Clone
creates a shallow copy. Array.Copy() copies Data as well as
structure while Clone copies data only.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is difference between struct and class in c#?
What is using keyword in C#?
Explain About Global.asax
How do you prevent a method from being overridden in c#?
What is difference between array and arraylist in c#?
What is icomparer in c#?
What does console mean c#?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Why do we need constructor?
What is or operator in c#?
What is meant by clr?
What are predicates in c#?
Why are c# strings immutable?
How to use the sreamReader class to read form a text file?
Does c# replace c++?