views:

231

answers:

5
+2  Q: 

Concepts in C# 3.0

When a person moves from C# 2.0 C# 3.0 ,what are the concepts does he need to learn?

like extension method,lambda expression,Linq.

+11  A: 

They're all listed here:

Eric Lippert
Thanks Eric.Where can i locate Linq to xml samples in C# ? i have seen only in VB.
udana
If you get the chance, I think your input on a list of "things most likely to improve your code" would be valuable. :)
280Z28
+1  A: 

Yes that's a good start. You can also go over any kind of "what's new in C# 3.0" page, like this one from MSDN.

Ludovic
A: 

I can recommend that you have a look at C# in depth by Jon Skeet too. Very good book. :-)

Svish
A: 

You could look at this stack overflow question. It is not C# 3.0 specific, but contains a fair number of features which are very useful, and not known to all programmers.

Daniel Brotherston
A: 

There are a number of now widely used features of C# 3 that one "should" learn. That said, what you learned while using C# 2 will be just as applicable under C# 3.

The more common C# 3 features that one might encounter when reviewing other's code, wish to understand and ultimately adopt are:

  • Automatically Implemented Properties
  • Lambda Expressions
  • Linq
  • Object Initializers
Jon.Stromer.Galley