just exploring c# 4. Trying to get my head around all this dynamic stuff. Sorry if this question is silly, no experience in this domain.
If I have an ExpandoObject a
It's possible to add delegate properties to an ExpandoObject, which then act (almost) just like methods. e.g.,
ExpandoObject
dynamic obj = new ExpandoObject(); obj.GetDocumentTemplate = () => { ... }; ... obj.GetDocumentTemplate(); // invokes delegate