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
In C#, explain the difference between overloading and overriding.
What is a c# delegate?
What are the types of access modifiers?
What is the purpose of ienumerable in c#?
Define interface class in c#?
What is as keyword in c#?
What is definition in c#?
What is the difference between ienumerable and icollection?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
What is a float?
What is selector c#?
What is a static in c#?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
How can I check the type of an object at runtime?
What is dynamic object in c#?