Version 3.0.1.0

ArrayUtilities class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public static class ArrayUtilities
Inheritance
  • System.Object
  • ArrayUtilities

Methods

CreateNewArrayWithAddedElement<T>(T[], T)
public static T[] CreateNewArrayWithAddedElement<T>(T[] array, T value)
Parameters
T[] array

T value

Returns
T[]

Type Parameters
T

CreateNewArrayWithInsertedElement<T>(T[], Int32, T)
public static T[] CreateNewArrayWithInsertedElement<T>(T[] array, int index, T value)
Parameters
T[] array

System.Int32 index

T value

Returns
T[]

Type Parameters
T

CreateNewArrayWithRemovedElement<T>(T[], Int32)
public static T[] CreateNewArrayWithRemovedElement<T>(T[] array, int index)
Parameters
T[] array

System.Int32 index

Returns
T[]

Type Parameters
T