Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CopyTo() [1/3]

void System.Array.CopyTo ( Array array,
int index )
inline

Definition at line 1555 of file Array.cs.

1556 {
1557 if (array != null && array.Rank != 1)
1558 {
1559 ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_RankMultiDimNotSupported);
1560 }
1561 Copy(this, GetLowerBound(0), array, index, Length);
1562 }
int Length
Definition Array.cs:430
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
Definition Array.cs:624
int GetLowerBound(int dimension)
Definition Array.cs:868

References System.array, System.Array.Copy(), System.Array.GetLowerBound(), System.index, System.Array.Length, and System.ThrowHelper.ThrowArgumentException().

Referenced by System.Array.CopyTo(), and System.Collections.Generic.EnumerableHelpers.ToArray< T >().