initialize idictionary c# code example
Example: add values to dictionary c# while initializing
AllCities.Add(new City("Rome") { Names = { { "DE", "Rom" }, { "...", "..." } } });
AllCities.Add(new City("Rome") { Names = { { "DE", "Rom" }, { "...", "..." } } });