concept DynamicObject in category c#

This is an excerpt from Manning's book C# in Depth.
DynamicObject is a more powerful way of interacting with the DLR than using ExpandoObject, but it’s a lot simpler than implementing IDynamicMetaObjectProvider. Although it’s not actually an abstract class, you really need to derive from it to do anything useful—and the only constructor is protected, so it might as well be abstract for all practical purposes.

This is an excerpt from Manning's book Metaprogramming in .NET.
To remove any remaining mystery, let’s implement an expandable property bag called MyExpandoObject, providing custom implementations for GetMember and SetMember at runtime. Rather than implementing the entire IDynamicMetaObjectProvider contract, let’s take a shortcut. A helper class has been included in the .NET Framework called DynamicObject that implements IDynamicMetaObjectProvider for you, hiding the somewhat complex Bind* methods and exposing a set of similarly named but simpler Try* methods instead. To implement the dynamic property bag, you’ll need to derive your class from DynamicObject and override the TryGetMember and TrySetMember functions to provide your custom binding code. The following listing shows the definition of the MyExpandoObject type.
There aren’t many public classes in the System.Dynamic namespace, but there are 13 classes in that namespace with the term Binder in them. Near the end of this chapter, we look at binders and their crucial role in what the DLR calls dynamic dispatch. Of the five remaining classes in the namespace, only two are likely to be used by the average developer: the ExpandoObject and the DynamicObject. Both classes are useful for metaprogramming and for writing more flexible code in general.