ArrayExtensions Type

Provides some extensions for arrays.

Static members

Static member Description

ArrayExtensions.CloneDeep(array)

Full Usage: ArrayExtensions.CloneDeep(array)

Parameters:
    array : 'T[] - The array to clone.

Returns: 'T[] Cloned array, with each of the elements a clone from the original element.

Clones the array deep, i.e. the elements will be cloned for the new array.

array : 'T[]

The array to clone.

Returns: 'T[]

Cloned array, with each of the elements a clone from the original element.

NullReferenceException nameof(array)

ArrayExtensions.CloneDeepNullable(array)

Full Usage: ArrayExtensions.CloneDeepNullable(array)

Parameters:
    array : 'T[] - The array to clone.

Returns: 'T[] Cloned array, with each of the elements a clone from the original element.

Clones the array deep, i.e. the elements will be cloned for the new array. Here, elements which have a value of null are allowed.

array : 'T[]

The array to clone.

Returns: 'T[]

Cloned array, with each of the elements a clone from the original element.

NullReferenceException nameof(array)