Constructs a new array of the specified length with offset zero.
Namespace:
Extreme.Collections
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Array1D(
int length,
bool initializeToZero
)
Public Sub New (
length As Integer,
initializeToZero As Boolean
)
public:
Array1D(
int length,
bool initializeToZero
)
new :
length : int *
initializeToZero : bool -> Array1D
Parameters
- length
- Type: SystemInt32
The number of elements in the new array. - initializeToZero
- Type: SystemBoolean
Indicates whether the elements should be
explicitly set to zero.
The storage array also has
length elements.
Reference