0
kicks
Having Fun with Anonymous types and Extension Methods in C# 3.0
In C# 3.0 Microsoft has added some neat dynamic features while still being straticly typed. List and dictionary initilizers is one such dynamic feature. In this post Patrik Löwendahl describes how to use some other C# 3.0 features to create a variation of the provided List / Dictionary initilizers. With anonymous types, extension methods and fluent interface dictionaries can now be simply initilized.