lowendahl.net — 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.
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.