Indices provide a succinct syntax for accessing single elements in array/collection.
Consider the array below:
- The 0 index is the same as sequence.
- The ^0 index is the same as sequence[sequence.Length].
Note that sequence[^0] does throw an exception, just as sequence[sequence.Length] does. For any number n, the index ^n is the same as sequence.Length - n.