ArrayExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helpers for working with arrays.
public static class ArrayExtensions
type ArrayExtensions = class
Public Module ArrayExtensions
- Inheritance
-
ArrayExtensions
Methods
GetColumn<T>(T[][], Int32) |
Yields a column from a jagged array. An exception will be thrown if the column is out of bounds, and return default in places where there are no elements from inner arrays. Note: There is no equivalent GetRow method, as you can use array[row] to retrieve. |
ToArrayString<T>(T[,]) |
Returns a simple string representation of a 2D array. |
ToArrayString<T>(T[]) |
Returns a simple string representation of an array. |
ToArrayString<T>(T[][]) |
Returns a simple string representation of a jagged array. |