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.
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.
I've found this to be a good book for programmers already familiar with C-syntax based languages:
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).
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.
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.
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.
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.
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}"
Please see:
Where can a C++/Java developer find C# learning materials?
Can you recommend a good C# windows programming book (for Java developer)
C# in Depth by Mr. Jon Skeet. Currently he's working on preparing the books for the 2nd edition covering C# 4.0
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)
As a free online resource, Microsoft's Ramp Up area is very good, and they have a Java to .NET track:
They usually include chapters from books, labs, tests, etc.
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).