Cast the expando to IDictionary<string, object>
and call Remove
:
var dict = (IDictionary<string, object>)foo;
dict.Remove("bang");
Cast the expando to IDictionary<string, object>
and call Remove
:
var dict = (IDictionary<string, object>)foo;
dict.Remove("bang");