What is the difference b/w Arry.copy() and array.clone()
method?

Answer Posted / vasanth

Array.copy() copies both structure and data to another array and its return type is void.
Array.Clone() copies only structure of array and its return type is Object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is binary search tree in data structure?

659


How does dictionary work in c#?

643


What is c# most used for?

745


Explain about Threading Types.

819


What is the difference between static class and sealed class in c#?

670


Is unboxing an implicit conversion?

716


How to achieve polymorphism in c#?

722


What is the purpose of constructor in c#?

618


What does int parse do in c#?

684


What is exe file in c#?

646


What is the difference between “finalize” and “finally” methods in c#?

681


Why is it called c sharp?

695


What are the differences between system.string and system.text.stringbuilder classes?

699


What is class in oops with example in c#?

677


write a program to find the biggest palindrome in the given string

730