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

Rajesh Goswami

Total Post:85

Points:425
Posted by  Rajesh Goswami
C# 
C#
 1717  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()?

       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!