Method CopyTo
CopyTo(T[], Int32)
Copies the elements of the collection to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | array | The one-dimensional System.Array that is the destination of the elements copied from the collection. The System.Array must have zero-based indexing. |
| System.Int32 | arrayIndex | The zero-based index in array at which copying begins. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.13 |
| .NET Framework | 100.0 - 100.8 |
| .NET 5 | 100.11 |
| .NET Core 3.1 | 100.7 - 100.8 |
| Xamarin.Android | 100.0 - 100.13 |
| Xamarin.iOS | 100.0 - 100.8 |
| UWP | 100.0 - 100.15 |