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
What is the default value of object in c#?
what is the purpose of using statement in c#
Can we change static value in c#?
What is variable in c#?
Define property in c#.net?
What is a thread c#?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
What is c# used for?
Explain the types of assemblies in .net?
Give examples for reference types?
Is php better than c#?
Can we inherit private class in c#?
Are objects passed by reference in c#?
How do you read an Excel sheet in C#?
Explain the difference between // comments, /* */ comments and /// comments?