ArrayExtensions.RemoveAt<T>
Extension Method in ArrayExtensions
Declaration
public static T[] RemoveAt<T>(this T[] array, int index)
Description
Removes the element at the specified index from the array.
Type Parameters
T | The type of the array. |
Parameters
array | The array to remove the element from. |
index | The index of the element to remove. |
Returns
T[] | A new array with the element removed. |