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


Please Help Members By Posting Answers For Below Questions

What is expandoobject in c#?

490


What does using system mean in c#?

500


What is difference between private and protected in c#?

500


What is dependency in software?

530


Can we have multiple threads in one app domain?

530






What is a dll in c#?

455


How do I automate my desktop application?

517


What is a dictionary in c#?

509


Explain 'structure padding'?

688


What are partial types in c#?

497


Can we inherit abstract class in c#?

499


What is binary search tree in data structure?

485


What is the difference between delegates and superdelegates?

474


What does get set mean in c#?

507


What is the difference between double and decimal in c#?

470