class to expandoobject c# code example Example: c# expandoobject indexer ((IDictionary<String, Object>)expando)["name"]