What is the difference b/w Arry.copy() and array.clone()
method?
Answer Posted / vishalakshi patil
Array.copy() Copies a range of elements in one Array to
another Array and performs type casting and boxing as
required. Deep Copy
Return type Void
The Array.clone() is of the same Type as the original Array.
Shallow copy. Return type System.object
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What do constructors do in c#?
Why do we need indexers in c#?
Define property in c#.net?
How do you specify a custom attribute for the entire assembly?
Can you change the value of a constant filed after its declaration?
If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?
What is the difference between dll and lib?
Distinguish between array and arraylist in c#?
What is the use of ienumerable in c#?
What are jump statements in c#?
Write a short note on interface?
How to force my .net app to run as administrator on windows 7?
What does exclamation mark mean c#?
What is assembly version series sequence?
Give an example of removing an element from the queue?