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
dynamic d = new ExpandoObject(); ((IDictionary)d)["test"] = 1; //now you have d.test = 1