| ExtensionsFlattenT Method |
Flattens a jagged array to a one-dimensional array
Namespace:
Cauldron
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.2
Syntax public static T[] Flatten<T>(
this T[][] arrays
)
public:
[ExtensionAttribute]
generic<typename T>
static array<T>^ Flatten(
array<array<T>^>^ arrays
)
Parameters
- arrays
- Type: T
The jagged array
Type Parameters
- T
- The element type of the array
Return Value
Type:
TAn one dimensional array
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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