Check out example codes for "dctionary literal c#". It will help you in understanding the concepts better.

Code Example 1

var data = new Dictionary<string, string>
{
    { "test", "val" }, 
    { "test2", "val2" }
};

Learn ReactJs, React Native from akashmittal.com