B.W.
0
Q:

array copy c#

var source = new[] { "Ally", "Bishop", "Billy" };
var target = new string[4];

source.CopyTo(target, 1);

foreach (var item in target)
{
  Console.WriteLine(item);
}

// output:

// Ally
// Bishop
// Billy
1
unsortedArray.CopyTo(unsortedArray2 , 0);
0

New to Communities?

Join the community