Interviews - C# Corner

Atulya Panda
What is the difference between the System.Array.CopyTo() and System.Array.Clone()?
By Atulya Panda in C# on Nov 26 2012
  • amar bisht
    Jun, 2014 28

    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.

    • 1
  • Neeraj Negi
    May, 2014 1

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

    • 0
  • Neena M
    Dec, 2012 10

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

    • 0

Most Popular Companies

Most Popular Job Functions