Vector<T>::Item Property

Gets the element at a specified index.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
property T default[int index] {
	T get (int index);
}

Parameters

index
Type: System::Int32

The index of the element to return.

Property Value

Type: T
The element at index index.

ExceptionCondition
IndexOutOfRangeException

index is less than zero.

-or-

index is greater than or equal to Count.

Show: