Beantown.NET Meeting
When: Thursday May 4, 2006, 5:30 - 7:30pm
Where: Adesso Systems,
One Liberty Square
, 7th Floor, Boston, MA
https://www.adessosystems.com/
Talk Summary:
"A Peek at C# 3.0: Lamba Expressions, Extension Methods, Query Expressions and Expression Trees"
-- Richard Hale Shaw, the Richard Hale Shaw Group (https://www.richardhaleshawgroup.com)
The C# Team is just getting warmed up: having only just shipped support for .NET Generics, Anonymous Methods and Custom Iterators in .NET 2.0/VS2005 last Fall, they're preparing a new round of features for the next version of the language.
In this session, we'll take a peek. We'll start with lambda expressions: an elegant, expressive syntax for generating anonymous methods, but without the plumbing required to use them. Then we'll look at extension methods: a slick way to define a static method in one class, but use it as an instance method in some other class, all without deriving or modifying the latter. Combine the two...and you can create query expressions to perform SQL-like and XQuery-like searches on collections (and the basis for DLINQ and XLINQ which you may have heard about), and let you store the queries - not the results, but the query itself - in expression tree data structures for re-use.
We'll wrap up with a look at the newer, simpler variable initialization syntax, elegant object initialization, and the ability to define types on-the-fly (anonymous types). When we're done, you'll see how C# 3.0 will transform your day-to-day C# development into elegant, high-level expressive work.
Comments
- Anonymous
April 30, 2006
ASP.NET IS A LANGUEEG WEB SITE