Extensions.Clone<TValue>(TValue[]) Method

Definition

Clones the values of an array, assuming that each element is a value type.

public static TValue[] Clone<TValue> (this TValue[] array);
static member Clone : 'Value[] -> 'Value[]
<Extension()>
Public Function Clone(Of TValue) (array As TValue()) As TValue()

Type Parameters

TValue

Parameters

array
TValue[]

Input array to clone.

Returns

TValue[]

A deep copy of this object.

Applies to