Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: T[] Insert<T>(this T[], int, params T[])

Declaration

public static T[] Insert<T>(
    this T[] array,
    int startIndex,
    params T[] values
)

Summary

Similar to string.Insert(int, string), but for arrays. Returns a new array with the values inserted starting from the specified startIndex.

Generic type parameters

TThis type parameter is not documented.

Remarks

Returns a new copy of the array even if values is empty.