Starting with C# 6, collections with indexers can be initialized by specifying the index to assign in square brackets, followed by an equals sign, followed by the value to assign.
Dictionary Initialization
An example of this syntax using a Dictionary:
var dict = new Dictionary<string, int>
...