Property Item
Item[Int32]
Array-like indexing operator.
Declaration
public T this[int index] { get; set; }Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | index | The zero-based index. | 
Property Value
| Type | Description | 
|---|---|
| T | 
Implements
Examples
        for (int i = 0; i < buffer.Length; i++)
        {
            buffer[i] = i * i;
        }