Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ExpandoObject
dynamic expando = new ExpandoObject();
expando.Title = "Ceci est un titre";
expando.Nom = "Paradis";
expando.Prenom = "Pascal";
foreach (var e in (IDictionary<String, Object>) expando)
{
Console.WriteLine(e.Value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment