3
Reply

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

Atulya Panda

Atulya Panda

Nov 26, 2012
8.1k
1

    System.Array.Clone() Makes a structure with same element. System.Array.CopyTo() makes structure with same element and copies the data as well in your destination array.

    amar bisht
    June 28, 2014
    1

    clone creates a structure and "copyto()" makes structure with data.

    Neeraj Negi
    May 01, 2014
    0

    System.array.clone makes same copy of the array with its elements...... System.array.copyto() copies the element from one array to another

    Neena M
    December 10, 2012
    0