Forums Programming Assignment Help What’s the difference between the System.Array.CopyTo() and System.Array.Clone()

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4014
    Aakanksha
    Participant

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

    #11590
    Aakanksha
    Participant

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.