using System.Collections.Generic;
public static void Main()
dynamic employee = new ExpandoObject();
employee.Name = "John Smith";
foreach (var property in (IDictionary<String, Object>)employee)
Console.WriteLine(property.Key + ": " + property.Value);