WHAT’S THE DIFFERENCE BETWEEN THE SYSTEM.ARRAY.COPYTO() AND SYSTEM.ARRAY.CLONE()?

Pushpendra Singh

Total Post:241

Points:1205
Posted by  Pushpendra Singh
C# 
C#
 1196  View(s)
Ratings:
Rate this:
  1. Uttam Misra

    Post:54

    Points:270
    What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!