Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

Similar to string.Remove(int), but for arrays. Returns a new array containing only the items before the specified startIndex.

Generic type parameters

TThis type parameter is not documented.

Remarks

Returns a new copy of the array even if startIndex is the length of the array.