ArrayExtensions Class

Provides extension methods for arrays.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0
C#
public static class ArrayExtensions
Inheritance
Object    ArrayExtensions

Methods

AsArray2DT Gets an Array2DT wrapper for the specified array. The array must have enough capacity for the specified height and width. No heap allocation occurs when using this method.
AsArray3DT Gets an Array3DT wrapper for the specified array. The array must have enough capacity for the specified depth, height and width. No heap allocation occurs when using this method.
AsSectionT(T) Gets the specified array as an ArraySectionT instance. No heap allocation occurs when using this method.
AsSectionT(T, Int32) Gets an ArraySectionT instance, which represents a section of the specified array. No heap allocation occurs when using this method.
AsSectionT(T, Int32, Int32) Gets an ArraySectionT instance, which represents a section of the specified array. No heap allocation occurs when using this method.

See Also