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

How do generics work in c#?

482


What are the namespace level elements?

497


What is parameter c#?

531


Which is better interface or abstract class in c#?

441


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

522






What is an arraylist in c#?

600


Does hashset allow duplicates c#?

514


What is concrete class in c# with example?

464


Can we have multiple threads in one app domain?

516


What is Satellite Assemblies ?

550


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

1451


How can we sort an array in c#?

504


What is constructors, explain with syntax

542


How do I join one form to another in c#?

462


Where do we set the min and max pool size for connection pooling?

518