C# 3.0 is Cool

I’ve already mentioned this article, but I decided to give it another thorough look, and I must say, C# 3.0 is really cool! The article is written by the infamous Don Box and it provides a comprehensive step-by-step tutorial on how each of the new C# 3.0 features can be used in practice, and eventually, how they are all meant to support the new query expressions. I already knew about LINQ, but until now, I wasn’t aware of its full potential. Many people have stated that it’s just an attempt by Microsoft to get a share in the ORM market. But in the same sense the foreach keyword is merely a shortcut for using the IEnumerable/IEnumerator interface, query expressions are really a SQL-like shortcut syntax for concatenating various query-like operations. You can perform query expressions on collections, databases (DLINQ), XML structures (XLINQ), and any other data source that conforms to the query expression pattern. Most of the new C# 3.0 features have been introduced to make this syntax compact and readable.

Updated:June 08, 2006

Share on

Leave a Comment

You May Also Enjoy

It may be coincidence, but the two best tutorials I attended at Agile DevOps East both ran on the same day. The first one focused mostly on agile transformation, but briefly touched on the leadership topic. This one, let by Jennifer Bonine, took this further by focusing on being a better leader b...

For my annual conference trip, I decided to skip the always-great QCon conference for once and instead attend Agile DevOps East in Orlando, Florida. In addition to the typical conference schedule, I also registered for some of the half-day and full day tutorials. One of them, How to lead high-per...

Transient vs non-transient exceptions
If I have to name the single biggest flaw in adopting Event Sourcing, it must be our decision to rely on the synchronous dispatching pipeline of NEventStore. It is based on the idea that every event will be processed by all projectors in a synchronous manner....