Check out example codes for "add values to dictionary c# while initializing". It will help you in understanding the concepts better.

Code Example 1

AllCities.Add(new City("Rome") { Names = { { "DE", "Rom" }, { "...", "..." } } });

Learn ReactJs, React Native from akashmittal.com