c sharp list indexer

C#
// You can index a List using listName[int]
List<string> stringList = new List<string>{"string1", "string2"};
string name = stringList[1];
// Output:
// "string2"
Source

Also in C#: