Property this
this[nint]
Gets a reference to the target value at the specified index in the sequence the current pointer is pointing to.
Declaration
public ref T this[nint index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| nint | index | The index of the target value in the sequence. |
Property Value
| Type | Description |
|---|---|
| T | A reference to the target value at the specified |
Remarks
Accessing the target value at the specified index through this property is equivalent to dereferencing the pointer at the specified index offset.
this[nuint]
Gets a reference to the target value at the specified index in the sequence the current pointer is pointing to.
Declaration
public ref T this[nuint index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| nuint | index | The index of the target value in the sequence. |
Property Value
| Type | Description |
|---|---|
| T | A reference to the target value at the specified |
Remarks
Accessing the target value at the specified index through this property is equivalent to dereferencing the pointer at the specified index offset.