Method CopyTo
CopyTo(Span<T>)
Copies the elements of the equatable array to the specified destination span.
Declaration
public void CopyTo(Span<T> destination)
Parameters
| Type | Name | Description |
|---|---|---|
| Span<T> | destination |
CopyTo(T[])
Copies the elements of the equatable array to the specified destination span.
Declaration
public void CopyTo(T[] destination)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | destination |
CopyTo(T[], int)
Copies the elements of the equatable array to the specified destination span.
Declaration
public void CopyTo(T[] destination, int destinationIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | destination | |
| int | destinationIndex |
CopyTo(int, T[], int, int)
Copies the elements of the equatable array to the specified destination span.
Declaration
public void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| int | sourceIndex | |
| T[] | destination | |
| int | destinationIndex | |
| int | length |