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
  • 399,467
  • 113
  • 570
  • 794
udana
  • 23
  • 2

5 Answers5

11

They're all listed here:

Svish
  • 152,914
  • 173
  • 462
  • 620
Eric Lippert
  • 647,829
  • 179
  • 1,238
  • 2,067
  • 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,513
  • 11
  • 12
0

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

Svish
  • 152,914
  • 173
  • 462
  • 620
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,954
  • 4
  • 18
  • 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
  • 10,542
  • 2
  • 25
  • 36