2

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.

Joel Coehoorn
  • 380,066
  • 110
  • 546
  • 781
udana
  • 23
  • 2

5 Answers5

11

They're all listed here:

Svish
  • 145,946
  • 169
  • 443
  • 600
Eric Lippert
  • 630,995
  • 172
  • 1,214
  • 2,051
  • Thanks Eric.Where can i locate Linq to xml samples in C# ? i have seen only in VB. – udana Dec 03 '09 at 18:22
  • If you get the chance, I think your input on a list of "things most likely to improve your code" would be valuable. :) – Sam Harwell Dec 03 '09 at 18:24
1

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 Chabant
  • 1,503
  • 11
  • 12
0

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

Svish
  • 145,946
  • 169
  • 443
  • 600
0

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.

Community
  • 1
  • 1
Daniel Brotherston
  • 1,755
  • 2
  • 17
  • 28
0

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
JonSG
  • 7,569
  • 2
  • 22
  • 35