LINQ : 2 nice things I just found

I was at work today and had to deal with obtaining the values from some anonomous types that I was using in some WPF databinding, and although I knew I could do it with reflection, I thought someone else may have already done something, and low and behold I found something pretty cool. I found this chap that wrote a nice wrapper around an anonomous type that lets you access the property values using generics for the type of the property and strings for the key of the property. He also allows you to add new methods to the anonomous type using delegates/lambdas, all in all its a good effort. Have a look for yourself over at his blog

http://somewebguy.wordpress.com/2009/05/29/anonymous-types-round-two/

Oh and he also wrote a LINQ for JavsScript which looks very nice especially if you are trying to parse large JSON result sets. You can read more about this over at this post

http://hugoware.net/

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: