Click or drag to resize

getSizeGetSize Method

Get the individual lengths of all of an Array's dimensions.

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IList<int> GetSize(
	this Array mat
)

Parameters

mat
Type: SystemArray
The Array to measure.

Return Value

Type: IListInt32
A read-only list, representing mat's lengths on all dimensions.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Array. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also