At PDC this year, both Anders and Jim used a helper “DynamicObject” class in their demos. This is actually a standard class in the DLR, which is why it’s in the “System” namespace.
Unfortunately, DynamicObject didn’t make it into the CTP, and the version that’s in the Open Source DLR is newer than – and not compatible with – the version of the DLR that’s in the CTP.
I’ve seen a few people ask where they can get a copy of DynamicObject, but haven’t seen the actual source posted. So to rectify this situation, I’ve placed the source code here. Standard disclaimers apply.
Please enjoy being dynamic!