tags:

views:

764

answers:

7

hey,

i want to start learning c# in the near future and i want to get a pretty updated book , so i can get a book that covers all the new features on the language and the .net framework. (don't see a point learning c#2 while there are new versions)

i do have a pretty good background in c++.

any recommendation ?

searching amazon i came up with this 3 , how are they :

Head First C# (Paperback)

Learning C# 3.0 (Paperback)

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition

thx

+2  A: 

I'm a big fan of the Head First series, though I haven't read this particular book. I learned using Windows Forms Programming in C# by Chris Sells

Jim Wallace
I like the Head First style myself, but it's certainly a matter of taste. I also happen to like the "other way" too, when it's done right ("wall of text", if you will). I thought the C# intro book for Head First was pretty good.
peacedog
A: 

Learning "all the new features" in C# won't do you much good until you know the basics and fundamentals. I would suggest the Heads Up book. Most Heads Up books are very good and the fundamentals.

Randy Minder
+1  A: 

I'm a big fan of #2 -- Jesse Liberty's book. Also check out Richter's book, which is, IMO the definitive guide to the .NET CLR itself. You should have a good background in programming before reading Richter, though.

Dave Markle
It's not really a guide to the *framework* so much as the CLR (hence the title). There's an awful lot of framework which is barely mentioned - and rightly so, as it's not *meant* to be a guide to WinForms, WPF etc.
Jon Skeet
A: 

I agree with Randy about the fundamentals. The "new features" in C# are primarily in the libraries themselves and affect Windows, Web, WCF, etc development. If you don't know C# yet, then learning the basics on 2.0 vs 3.0 vs 3.5 won't make too big of a difference.

That being said, when I go buy a book I usually spend a few hours at the book store pouring over "competing" books to see which one fits my learning type. I prefer lots of labs, concise explanations, and a focus on the fundamentals (I've never liked books that tried to teach me C# fundamentals and web development all in one).

asteio
C# 3 had some pretty major new features (LINQ and its numerous bridesmaids), so I think it is worth him seeking out a C# 3 book rather than a C# 2 book. Agree on the importance of the fundamentals though!
itowlson
You're correct - LINQ was an addition to the language that's definitely worth looking into. I shy away from LINQ myself since I'm really not a big fan and I think I'm in the minority when I say that I'm not a fan of using LINQ in an enterprise app (especially LINQ to SQL). It's still recommended that you play with it so you can decide for yourself.
asteio
LINQ is a *massive* leap forward in readability, IMO - in particular, LINQ to Objects can be used in any layer, making working with data *much* simpler.
Jon Skeet
I was about to start a new thread of questions, but I see that Jon has already weighed in here: http://tinyurl.com/ylx6tts. You've addressed it well for both sides. Thanks.
asteio
A: 

I liked Murach's C# 2008 enough to buy it, it is a good reference book.

fuzzy lollipop
+6  A: 

I'm not a big fan of Jesse Liberty's book, but if you get the most recent printing of Head First C# that's okay - the earlier printings had a lot of mistakes.

Personally I like C# 3.0 in a Nutshell and Accelerated C# 2008.

Of course there are v4 editions of all of these books coming up.

I have reviews of all these books on my blog - although bear in mind that as an author of a C# book myself, I'm somewhat biased. (Fortunately in this case I can say that my book (C# in Depth) is almost certainly not the one you want to get - it's aimed at people who already know C# 1 and want to know 2 and 3 in a lot of detail.) Also bear in mind that I reviewed the first printing of Head First C#, so the criticisms of accuracy have largely been addressed now. I don't like the Head First style in general myself, but that's just a personal preference. I keep meaning to go back and do an updated review of HFC# now that I've got a much more recent printing...

Jon Skeet
+1 for _C# 3.0 in a Nutshell_.
Joe Internet
I'm thinking of buying **C# in a Nutshell** (I'm a beginner, mostly, although I'm not exactly starting from scratch). Should I get the new edition of the book (C# 4.0), or should I just stick with the one dealing with C# 3.0?
alex
@alex: Get the new edition. There's no point in going without the extra information about .NET 4.0 and C# 4.
Jon Skeet
@Jon Thank you very much! Once I have a clearer grasp of C#, I believe your book will be next.
alex
A: 

I recently had to find a book for a friend to help them, I looked through quite a few including Head First C#. I know everybody learns differently but I thought this book was awful. It looks and reads like somebodies private notes. It starts off with creating a database. I was expecting a book that teaches one a language to start off with a simple console app so you can learn the main concepts.

There were two I thought looked pretty well laid out. They are:

  1. Illustrated C# 2008 by Daniel Solis. It went through topics in the order that personally made sense to me.

  2. Rob Miles C# Yellow Book 2009. This book is very easy reading, it takes concepts really slowly for beginners and also seemed to focus on the details of the language and not on how to use windows form designers or databases.

Steve Sheldon