C# 4: Real-World Example of Dynamic Types

Posted by routeNpingme on Stack Overflow See other posts from Stack Overflow or by routeNpingme
Published on 2010-02-13T00:27:55Z Indexed on 2010/05/15 5:14 UTC
Read the original article Hit count: 597

Filed under:
|
|

I think I have my brain halfway wrapped around the Dynamic Types concept in C# 4, but can't for the life of me figure out a scenario where I'd actually want to use it.

I'm sure there are many, but I'm just having trouble making the connection as to how I could engineer a solution that is better solved with dynamics as opposed to interfaces, dependency injection, etc.

So, what's a real-world application scenario where dynamic type usage is appropriate?

© Stack Overflow or respective owner

Related posts about c#

Related posts about dynamic-types