Insert an item at the begining of an array. A new array is returned.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function AddAtBeginingToArray(Of T) ( _
	array As T(), _
	obj As T _
) As T()
C#
public static T[] AddAtBeginingToArray<T>(
	T[] array,
	T obj
)

Parameters

array
Type: array<T>[]()[][]
obj
Type: T

Type Parameters

T

Return Value

See Also