ArraySectionT(Int32, Boolean) Constructor
Initializes a new instance of the
ArraySectionT struct using an internally allocated buffer.
When using this overload, the returned
ArraySectionT instance must be released
by the
Release method if it is not used anymore.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public ArraySection(
int length,
bool assureClean = true
)
Public Sub New (
length As Integer,
Optional assureClean As Boolean = true
)
public:
ArraySection(
int length,
bool assureClean = true
)
new :
length : int *
?assureClean : bool
(* Defaults:
let _assureClean = defaultArg assureClean true
*)
-> ArraySection
Parameters
- length Int32
- The length of the ArraySectionT to be created.
- assureClean Boolean (Optional)
- to make sure the allocated underlying array is zero-initialized;
otherwise, . May not have an effect on older targeted platforms. This parameter is optional.
Default value: .