Array Type - Array<T>
The Array<T>
data type is a unique data type, as it does not represent itself a
value, but rather a sequence of multiple values. As a result of that an array has also a length and
an index for each item, which you may use to access them using an
bracket notation member access expression.
Generic Arguments
T
The generic argument T
represents the type of the items that are stored in the array.
Any other type not matching T
will result in a type error.