Utility CopySubArray T  Method Bespoke Osc Library
Copy a subset of an array.

Namespace: Bespoke.Common
Assembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax

<ExtensionAttribute> _
Public Shared Function CopySubArray(Of T) ( _
	source As T(), _
	start As Integer, _
	length As Integer _
) As T()

Parameters

source
Type:  T 
The source array to copy from.
start
Type: OnlineSystem Int32
The index into the source array at which copying begins.
length
Type: OnlineSystem Int32
The number of elements to copy.
Type Parameters

T
The array type.

Return Value

A copy of the subset of the source array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].
See Also