Dynamic Types and DynamicObject References in C#
Posted by: Rick Strahls WebLog,
on 01 Feb 2012 |
View original | Bookmarked: 0 time(s)
I've been working a bit with C# custom dynamic types for several customers recently and I've seen some confusion in understanding how dynamic types are referenced. This discussion specifically centers around types that implement IDynamicObject or subclass from DynamicObject as opposed to arbitrary type casts of standard .NET types. IDynamicObject types are treated special when they are cast to the dynamic type. Assume for a second that I've created my own implementation of a custom dynamic...