tags:

views:

310

answers:

15

I'm looking for a good language reference for C# 4.0 programming book. My programming languages background includes Java, C and perl.

NB

Please don't include books about ASP.NET, winforms, etc.

+1  A: 

I've found this to be a good book for programmers already familiar with C-syntax based languages:

Professional C# 2008

LBushkin
+4  A: 

I like Pro C# 2008 and the .NET 3.5 Platform personally, has a good breadth of everything (I used an earlier edition when coming from the Java world myself).

Justin Niessner
This is the same book I would recommend also. I have used a previous version that was great.
Troggy
+4  A: 

I think you'll be lucky to find many 4.0 books around, it's not even been released yet so it might still change. Personally I've found Pro C# 2008 and the .NET 3.5 Platform very good (Andrew Troelsen). I don't think there is a 4.0 version out yet, but I would assume there will be one.

There's a similar question here, that includes some good links that cover the differences between Java and C#. Not quite what you were asking for, but looks like a good reference point none the less.

Simon P Stevens
+2  A: 

At this point in time, I am not aware of any book that covers C# 4.0, since that is part of Visual Studio 2010 that has not yet been released. I know I am working on a book that covers C# and other items of VS 2010.

If you are looking for a book on current topics, Microsoft Press has a C# Language Reference book that is really good.

Mitchel Sellers
+2  A: 

Along with a C# reference, I would get CLR via C#. It sticks to framework stuff like types, assemblies etc, and should give you an idea of what is different from the JVM.

Tim Hoolihan
+1 a great book
Daniel Earwicker
A: 

Pro C# and the .Net 3.5 Platform by Andrew Troelsen is the best C#/.Net book I've seen. By the look of it he hasn't done a version for C# 4.0, but he does new editions for each new version of .Net. I'd say that the current version is worth getting - you could get the next version whenever it comes out.

ConcernedOfTunbridgeWells
+1  A: 

Hi, this was a while ago but I tought a C# course (and was/am a Java developer) and the book I used was the Developmentor one for both myself and the students. I liked it for the simple fact that it gave you an overview of what the language constructs were. So I could quickly go "what's the C# equivalent of a ${java.feature}"

ThaDon
+2  A: 
Andreas Grech
+4  A: 

C# in Depth by Mr. Jon Skeet. Currently he's working on preparing the books for the 2nd edition covering C# 4.0

C# in Depth

hadi teo
thanks, there is an early access edition with only one chapter (meap). I'll wait for more chapters.
dfa
+1 a great suggestion as Jon's book gives a lot of space to features unique to C#, especially Linq To Objects.
Daniel Earwicker
@dfa: You'll have trouble finding a C# 4 book that's already published, given that C# 4 itself is only in beta. If you *do* find one, it may well be inaccurate by the time VS2010 is actually released. (There are only going to be two other big new chapters, in C# in Depth btw, and only one of them is specifically about C# 4. The MEAP includes the first edition for free though, so you'd have something to chew on while you're waiting for new chapters :)
Jon Skeet
@Jon Skeet: thanks very much for updates! I'm working on my master thesis so I've enough stuff to chew :))
dfa
+1  A: 
cdmckay
there are specific sections about Java vs C# like "C# for Java Programmers"?
dfa
No, it's mainly written for .NET programmers who are familiar with .NET 1.1. However, since .NET 1.1 and Java are pretty similar (except maybe for properties), I found it pretty easy to pick up.
cdmckay
+1  A: 

C# for Java Developers by Allen Jones

From Java to C#: A Java Developers Guide - Dive into the .NET World by Leveraging Your Java Knowledge by Heng Ngee Mok (Author)

joe
C# for Java Developers is a 2002 book. A bit outdated but thanks anyway :)
dfa
+1  A: 

As a free online resource, Microsoft's Ramp Up area is very good, and they have a Java to .NET track:

Ramp Up: For the Java Developer: Learn .NET

They usually include chapters from books, labs, tests, etc.

Zhaph - Ben Duguid
+1  A: 

I was a Java developer (taught at uni) before I came a c# .net developer (used at work).

I liked Microsoft Step by Step c# for VS 2008 Book. (first 7 or so chapters can be skipped, but still useful).

waqasahmed
+1  A: 

C# step-by-step, by John Sharp.It helped me a lot.

DarkFire21