Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What?s the difference between the System.Array.CopyTo() and
System.Array.Clone()?

Answer Posted / jiturcm

System.Array.CopyTo() performs deep copy and shallow.
Where as System.Array.clone() performs shallow copy.

System.Array.CopyTo() doesn't create new Array
System.Array.clone() create new Array of same length of existing array.

If System.Array.CopyTo()can perform both deep copy and
shallow then why System.Array.clone ?

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of delegate?

1020


What does exclamation mark mean in access query?

1042


Can we have 2 main methods in c#?

952


Explain how do you debug an asp.net web application?

958


What is the purpose of private constructor in c#?

1060


What is the difference between int.parse and int.tryparse methods?

1094


What is a singleton unity?

1036


What are bitwise logical operators?

943


Why are c# strings immutable?

1048


What is data quality assurance?

947


In howmany ways can you deploy an assembly?

991


How many digits are in an integer?

902


State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?

997


How to rotate an Image in C#?

1167


What is an arraylist in c#?

1137