Check out example codes for "c# convert dictionary to anonymous object". It will help you in understanding the concepts better.

Code Example 1

var dict = new Dictionary<string, object> { { "Property", "foo" } };
dynamic eo = dict.Aggregate(new ExpandoObject() as IDictionary<string, Object>,
                            (a, p) => { a.Add(p.Key, p.Value); return a; });
string value = eo.Property;

Learn ReactJs, React Native from akashmittal.com