Zero Index CopyTo

        public static void CopyTo<T>(this T[] array, T[] target)
        {
            array.CopyTo(target, 0);
        }
Example:
array.CopyTo(target);   // no index argument required

Description

CopyTo without the second parameter, for when you just want to copy array A to array B verbatim and size is not a concern.

Details

Double click on the code to select all.

 

;