CSharpFeeds - All your C# feeds in one place.

Monday, March 31, 2008

Dynamic lookup

by Patrik Hägne via Legend and truth on 3/31/2008 10:57:00 PM

A while back Charlie Calvert and Mads Torgersen wrote about dynamic lookup being part of the plans for C# 4.0. A code block specified with the "dynamic" key word will allow dynamic lookup with syntax like follows: static void Main(string[] args) { dynamic { object myDynamicObject = GetDynamicObject(); myDynamicObject.SomeMethod(); // call a method myDynamicObject.someString = "value"; // Set a field myDynamicObject[0] = 25; ...

[ read more ]

Book review: C# 3.0 in a Nutshell

by skeet via Jon Skeet's Coding Blog : C# on 3/31/2008 3:16:29 PM

Resources: Book's web site (includes various tools such as LINQPad) Amazon Errata Introduction The original C# in a Nutshell was the book I cut my C# teeth on, so to speak. Basically I read it (well, the bits which weren't just reproductions of MSDN - gone in this edition, thankfully), played around in Visual Studio, and then started to answer questions on the C# newsgroup. (That's a great way of learning useful things, by the way - find another person's problem which sounds l ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us