Posted by: advapi | June 24, 2008

I love you everyday more!

Sometimes .NET surprise me…..

I found this just playing around with Visual Studio and .NET 3.5:

As u can see, I’ve defined the result structure (Element) on the select {….} clause and I can access to it’s property “on the fly”. I love Var constructor

This is done by Reflection I suppose, I’ll investigate on further


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: