i have this
dynamic d = new ExpandoObject(); d.Name = attribute.QualifiedName.Name;
so , i know that d will have a property Name. Now if i
Here is a cleaner way
var myObject = new ExpandoObject() as IDictionary; myObject.Add("Country", "Ireland");
var myObject = new ExpandoObject() as IDictionary;
myObject.Add("Country", "Ireland");