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

Answer Posted / guest

The first one performs a deep copy of the array, the second
one is shallow

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pure abstract class in c#?

458


Suppose two interfaces have same method, so how will you implement these methods in derive class?

487


What is dependency injection in simple words?

505


Explain the difference between const and static read-only?

510


What is a copy constructor in c#?

498






Define an array?

530


Does c# have primitives?

476


What is a Jagged Array in C#?

552


What are the Types of optimization and name a few and how do u do?

526


What is an assembly in .net?

573


What language is arduino?

528


Give 2 scenarios where static constructors can be used?

489


What is array and arraylist?

544


What is default class in c#?

505


What is an enumerator c#?

517