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

Answer Posted / rahul

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 interpolation in programming?

578


What are bitwise logical operators?

566


How can I access the registry from c# code?

599


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

1670


List the fundamental oop concepts?

606






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

567


What is a struct in C#?

635


How do I open the console?

683


How do I run managed code in a process?

609


Why attributes are used in c#?

555


What is difference between string and stringbuilder in c#?

559


What is a long in c#?

552


How are delegates chosen?

556


Is inheritance possible in c sharp?

714


What is difference between out and ref in c#?

616