ArraySectionTCopyTo(ArraySectionT, Int32) Method
Copies the items of this
ArraySectionT to a compatible instance, starting at a particular index.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public void CopyTo(
ArraySection<T> target,
int targetIndex = 0
)
Public Sub CopyTo (
target As ArraySection(Of T),
Optional targetIndex As Integer = 0
)
public:
void CopyTo(
ArraySection<T> target,
int targetIndex = 0
)
member CopyTo :
target : ArraySection<'T> *
?targetIndex : int
(* Defaults:
let _targetIndex = defaultArg targetIndex 0
*)
-> unit
Parameters
- target ArraySectionT
- The ArraySectionT that is the destination of the elements copied from this instance.
- targetIndex Int32 (Optional)
- The zero-based index in target at which copying begins.