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
Define mutex in C#?
Is enum a value type c#?
Can the accessibility of a type member be greater than the accessibility of its containing type?
What is the benefit of delegate in c#?
What are the different types of comments in c#?
Are c# strings null terminated?
Explain jagged arrays in c#?
How C# 4.0 supports dynamic programming language?
What is int tryparse in c#?
What is use of private class in c#?
Structs are not reference types. Can structs have constructors?
What is the difference between console and windows application?
What is literal in c#?
What is ispostback c#?
Can scriptable objects have methods?