What is the difference b/w Arry.copy() and array.clone()
method?
Answer Posted / chauhan rakesh botad
System.Array.copyto() will perform a deep copy of array
while system.array.Clone() will perform shalow copy of the
array.Shalow copy will simply copy the elements of the array
where as an Deep copy will copy the elements as well as any
referenced elements present in the array.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is c# most used for?
When do you generally use a class over a struct?
Why do we write system in c#?
What is the different types of private assembly and shared assembly?
Is functional interface runnable?
Why use “using” in c#?
What do you mean by sealed classes and static classes?
Is there any sample c# code for simple threading?
How many types of constructors are there?
What does console readkey do in c#?
What is overriding in c#?
Explain the Abstract class in c#.net
Can a class be private in c#?
What is the difference between delegates and events in c#?
Explain Constructor and destructor?