Having Fun with Anonymous types and Extension Methods in C# 3.0 (www.lowendahl.net)

published 2 years, 2 months ago, submitted by lowendahllowendahl(740) 2 years, 2 months ago

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 comment | category: | Views: 15

tags: another

new Add a live kick counter to your blog >> liveImage

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:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

No comments so far

information Login or create an account to comment on this story