What is the difference b/w Arry.copy() and array.clone()
method?
Answer Posted / sanjaym
Array.copy() and array.clone() both gives Deep copy.
The main difference is array.clone() return type is object
so type casting is required...
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is the difference between interface and inheritance in c#?
What is definition in c#?
What is generic and non generic collections in c#?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What is the difference between C# 3.5 and C# 4.0?
What is string concatenation?
When is a class declared as a class abstract?
Explain nullable types in c#?
What is difference between .net and c#?
What is pure abstract class in c#?
Explain Constructor and destructor?
What do you mean by directing?
What is dynamic object in c#?
You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?
How many dimensions can an array have?