Quantcast
Channel: CSharp Feeds
Viewing all articles
Browse latest Browse all 10

Creating a dynamic, extensible C# Expando Object

$
0
0
I love dynamic functionality in a strongly typed language because it offers us the best of both worlds. In C# (or any of the main .NET languages) we now have the dynamic type that provides a host of dynamic features for the static C# language. One place where I've found dynamic to be incredibly useful is in building extensible types or types that expose traditionally non-object data (like dictionaries) in easier to use and more readable syntax. I wrote about a couple of these for accessing old s

Viewing all articles
Browse latest Browse all 10

Trending Articles