1 dynamic dynamicObject = new System.Dynamic.ExpandoObject(); 2 dynamicObject.Id = Guid.NewGuid(); 3 (dynamicObject as ICollectionstring, object>>).Add(new KeyValuePair<string, object>("Name", "ChenFeng")); 4 Console.WriteLine(dynamicObject.Id); 5 Console.WriteLine(dynamicObject.Name);