Anders Hejlsberg unveiled one of the cool new features coming in C# 3.0 (Comega): The .NET Language Integrated Query Framework - LINQ. It has three parts: In memory structure (Array, collection, etc.) query, relational database query (DLinq) and XML query (XLinq). Basically you can interact with all three using the same (or similar) native language features. There are a number of enhancements to the C# langauge to support LINQ. A lot of really cool stuff in here!
One of the features is called Extension Methods. This reminds me a lot of class helpers in Delphi 2005, except it only adds methods, not properties. Also it applies it to an Interface, so any class that implements that interface also gets the new methods. I spoke with Anders afterwards and he said it was similar to Class Helpers, but obviously different in the ways I mentioned, and implemented differently (as far as he knew).
Tags: [Programming] [Microsoft] [PDC05]
1 comment:
This has to be the most interesting peace of technology to come out of pdc this year (at least from what I can read on the blogs).
Others in that category: Sparkle and the new office interface.
You can see Sparkle on Channel 9,
http://channel9.msdn.com/Showpost.aspx?postid=115387
and the new office interface demo'ed on Bill Gates's PDC address, found on msdn right now.
http://msdn.microsoft.com/events/pdc/
Post a Comment