1.

Explain the difference between “System.Array.Clone()” and “System.Array.CopyTo()” in C#?

Answer»
S.noSystem.Array.Clone()System.Array.CopyTo()
1.Used for CREATING a new array containing elements of the original arrayElements of existing array GET copied into ANOTHER existing array.
2.Does not require a destination array to existDestination array must exist


Discussion

No Comment Found