Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

Similar to string.Insert(int, string), but for arrays and for a single value. Returns a new array with the value inserted at the specified startIndex.

Generic type parameters

TThis type parameter is not documented.