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


Please Help Members By Posting Answers For Below Questions

Is null c# operator?

731


What is session c#?

691


What is difference between the "throw" and "throw ex" in .net?

681


What is cookies in c# asp net?

677


What is difference between array and collection?

736


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

1801


Which attribute is used in order that the method can be used as webservice?

715


Is java better than c sharp?

711


What is using directive in c#?

747


What is integer c#?

674


What is file extension of webservices?

786


Can an int be negative c#?

776


What is the difference between the debug class and trace class? Documentation looks the same.

729


Is c# scripting language?

678


What Is A Satellite Assembly?

747