11

There are a lot of new features that came with the .Net Framework 3.5. Most of the posts and info on the subject list stuff about new 3.5 features and C# 3 changes at the same time. But C# 3 can be used without .Net 3.5. Does anyone know of a good post describing the changes to the language? (Besides the boring, explicit official specs at MSDN that is.)

David Wengier
  • 10,061
  • 5
  • 39
  • 43
Jon Adams
  • 24,464
  • 18
  • 82
  • 120

6 Answers6

15

Update: I can certainly understand. Eric Lippert has some more indepth posts..Check them out.


I liked the series of posts by scottgu on the new language features.. Some more info here as well http://www.danielmoth.com/Blog/2007/11/top-10-things-to-know-about-visual.html esp the section on language features.

Gulzar Nazim
  • 51,744
  • 26
  • 128
  • 170
  • Those aren't bad for intro-level. I sort of wanted in-depth discussion but just about C#3 features. Not C#3 features in the context of .Net 3.5. I know, lazy since I could just learn LINQ, etc., but it gets confusing when I run so many projects with different versions of things. Most do not use 3.5. – Jon Adams Sep 26 '08 at 04:05
4

There's a "quick and dirty" list on my C# in Depth site (which is also slightly tongue in cheek):

To respond somewhat to Charles Graham's post, I have an article about how applicable the language features are when targeting .NET 2.0:

Just as a blatant plug, if you're interested in language rather than framework, C# in Depth is about as close to a "language only" book as I've seen. It's also divided into two parts (after the introduction): new features in C# 2, and new features in C# 3.

Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194
  • For going from C#2 to 3 Jon's book is just the one I would have suggested. Manning get the e-publishing stuff right too. – Keith Sep 26 '08 at 13:17
3

Scott Guthrie has a good series of blog posts that describe a lot of the improvements. Scroll down to "Language Improvements and LINQ".

Lambda Expressions
Anonymous Types
Automatic Properties and object/list initializers
Extension Methods
Query Syntax

Joseph Daigle
  • 47,650
  • 10
  • 49
  • 73
  • Yeah, that's the thing that I want to avoid though. The "...and LINQ" part. I would like a good post about lambdas and such, without the context of LINQ. A bit lazy, I know, since I need to learn LINQ eventually, just not yet... – Jon Adams Sep 26 '08 at 04:01
  • In that section you'll see a blog post entitled "Lambda Expressions" which covers exactly what you want. – Joseph Daigle Sep 26 '08 at 04:03
  • 1
    I haven't read Scott's blog, but all the things I have read about LINQ have concentrated on the language changes necessary to support it. – Mark Baker Oct 20 '08 at 10:30
1

Check out Eric White's tutorial on functional programming in C# 3.0

Mike Thompson
  • 6,708
  • 3
  • 32
  • 39
0

That's one thing that I would concretely like to know myself. The one thing that I can tell you is that a lot of the new features in C# 3.0 will actually work in a purely 2.0 application if you do multi targeting in VS 2008. I know that extension methods are one such thing.

Charles Graham
  • 24,293
  • 14
  • 43
  • 56
0

here is a series of articles that helped me understand the new features quickly

http://blah.winsmarts.com/2006/05/19/demystifying-c-30--part-4-lambda-expressions.aspx

balalakshmi
  • 3,968
  • 6
  • 40
  • 48