0
kicks
Anonymous type to dictionary using DynamicMethod
C# 3.0 offers a variety of new language features like anonymous types, object and collection initializers and extension methods. With some creativity these features can be used to reduce the amount of code being written and to make the code more readable.
This article describes an efficient(!) way to convert an anonymous type to a dictionary.