Tag Archives: copy arrays

Copy arrays quickly in C#

It’s easy enough to use a for loop to copy an array, but for most arrays you can get even better performance by using the Array class’s Copy method. This takes as parameters the source and destination arrays. A third … Continue reading

Posted in arrays, performance | Tagged , , , , , , , , , , | Leave a comment