Version 3.0.0.2

MultiDimArrayUtilities class

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

Methods

DeleteColumn<TElement>(TElement[,], Int32)
public static TElement[, ] DeleteColumn<TElement>(TElement[, ] array, int columnIndex)
Parameters
TElement[,] array

System.Int32 columnIndex

Returns
TElement[,]

Type Parameters
TElement

DeleteRow<TElement>(TElement[,], Int32)
public static TElement[, ] DeleteRow<TElement>(TElement[, ] array, int rowIndex)
Parameters
TElement[,] array

System.Int32 rowIndex

Returns
TElement[,]

Type Parameters
TElement

DuplicateColumn<TElement>(TElement[,], Int32)
public static TElement[, ] DuplicateColumn<TElement>(TElement[, ] array, int columnIndex)
Parameters
TElement[,] array

System.Int32 columnIndex

Returns
TElement[,]

Type Parameters
TElement

DuplicateRow<TElement>(TElement[,], Int32)
public static TElement[, ] DuplicateRow<TElement>(TElement[, ] array, int rowIndex)
Parameters
TElement[,] array

System.Int32 rowIndex

Returns
TElement[,]

Type Parameters
TElement

InsertOneColumnLeft<TElement>(TElement[,], Int32)
public static TElement[, ] InsertOneColumnLeft<TElement>(TElement[, ] array, int columnIndex)
Parameters
TElement[,] array

System.Int32 columnIndex

Returns
TElement[,]

Type Parameters
TElement

InsertOneColumnRight<TElement>(TElement[,], Int32)
public static TElement[, ] InsertOneColumnRight<TElement>(TElement[, ] arr, int columnIndex)
Parameters
TElement[,] arr

System.Int32 columnIndex

Returns
TElement[,]

Type Parameters
TElement

InsertOneRowAbove<TElement>(TElement[,], Int32)
public static TElement[, ] InsertOneRowAbove<TElement>(TElement[, ] array, int rowIndex)
Parameters
TElement[,] array

System.Int32 rowIndex

Returns
TElement[,]

Type Parameters
TElement

InsertOneRowBelow<TElement>(TElement[,], Int32)
public static TElement[, ] InsertOneRowBelow<TElement>(TElement[, ] array, int rowIndex)
Parameters
TElement[,] array

System.Int32 rowIndex

Returns
TElement[,]

Type Parameters
TElement

MoveColumn<TElement>(TElement[,], Int32, Int32)
public static TElement[, ] MoveColumn<TElement>(TElement[, ] array, int fromColumn, int toColumn)
Parameters
TElement[,] array

System.Int32 fromColumn

System.Int32 toColumn

Returns
TElement[,]

Type Parameters
TElement

MoveRow<TElement>(TElement[,], Int32, Int32)
public static TElement[, ] MoveRow<TElement>(TElement[, ] array, int fromRow, int toRow)
Parameters
TElement[,] array

System.Int32 fromRow

System.Int32 toRow

Returns
TElement[,]

Type Parameters
TElement