Initializes a new instance of the SubArray T class.
Namespace: Bespoke.CommonAssembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
Parameters
- source
- Type: T
The source array.
- start
- Type: System Int32
The index, into the source array, to begin the sub array.
- length
- Type: System Int32
The length of the sub array.
Exceptions
Exception | Condition |
---|---|
System ArgumentOutOfRangeException | Thrown if start is less than 0. -or- start is equal to or greater than source.Length. -or- length is less and 0. -or- length is greater than source.Length - start. |
See Also