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 collection class c#?
Can constructor be protected in c#?
What is the difference between // comments, /* */ comments and /// comments?
Why cannot you specify the accessibility modifier for methods inside the interface?
What is a copy constructor in c#?
What is datatable in c#?
How do you type a null character?
Explain the various types of classes used in c#?
Is struct object oriented?
Is null in c#?
What is attribute c#?
What is Wrapper class in dot net?
What is a partial method?
Explain deadlock?
What is the namespcae generally given to the webpage of the .NET Framework ?