# [.net] Need A Book Recommendation: Learning C# From Scratch

## Recommended Posts

modmiddy    122
I can write HTML code and that is it. I've decided to learn C# and was hoping to pick up a book that will get me started. I'm having trouble finding a book that is written for somebody new to programming. All the available C# books seem to be written for current programmers who are interested in learning C#. Does anybody have any book recommendations for learning C# from scratch?

##### Share on other sites
C# how to program
by Deitel and Deitel

the last ed. (I think its not out in stores yet) uses game development as a motif for guiding the student trough the whole language, but any edition will do

your learning will be great and fast , specially if you do the exercises at the end of each chapter

good luck

##### Share on other sites
Telastyn    3777
Learning C# by OReilly.

##### Share on other sites
ranakor    439
what are you learning C# for? finding work? programming specific things? the strenght of C# (& other .net languages) lies in the .net framework wich is pretty huge , any startup C# book will do but to get anything done you'll need a solid book on .net , i'd advise pro C# 2008 .net 3.5 platform wich covers both C# , the new features of C#3 & a lot of the .net framework , but since you don't have any prior programming experience the C# intro in that book will be too shallow , keep this book in mind once you've read any other c# book tho as it will teach you (succintly only) most of the .net framework apis , wich is nice since you can decide what to specialise in after

##### Share on other sites
EdR    117
Quote:
 Original post by modmiddyI can write HTML code and that is it. I've decided to learn C# and was hoping to pick up a book that will get me started. I'm having trouble finding a book that is written for somebody new to programming. All the available C# books seem to be written for current programmers who are interested in learning C#. Does anybody have any book recommendations for learning C# from scratch?
Programming C# 3.0

It's an O'Reilly book, and a good one at that. Very thorough, very well-specified. I use it to teach C#, and it hasn't let me down yet.

##### Share on other sites
Gage64    1235
Quote:
 Programming C# 3.0

Programming C# is meant for someone with previous programming experience. Learning C#, on the other hand, is meant for someone who is completely new to programming.

I'm not familiar with either book, BTW, but I thought this needs to be said.

##### Share on other sites
daviangel    604
Best C# book I've read and one of the few that's for someone new to programming is Head First C#

##### Share on other sites
modmiddy    122
Quote:
 Original post by ranakorwhat are you learning C# for?

Currently I am only familiar with HTML. While I cannot write code for other web languages I have been very successful in "lightly" modifying existing code to suit my needs in the following languages: javascript, PHP, CSS, MYSQL, XML, and Perl. I am a quick learner and only plan on developing programs for my personal "non-profit" needs. Currently the project I have my eyes set on is creating a Virtual Game Table. Examples include: MapTool, Fantasy Grounds, and Klooge.Werks.

Generally these programs allow players to connect online to play pen and paper based games (Dungeons & Dragons for example) together. They have dice rollers, macro support, various types of text modifications (color, size, font, bold/italics/underline, etc...), drawing tools (simple like MS-Paint), multiple layers for graphics, fog-of-war, etc... The last two links above link to screen shots of the programs if your interested in what one of these programs generally looks like.

I really appreciate the book recommendations so far. I'm sorry I didn't specify what I was planning on doing with the language in my original post. If anybody has anymore recommendations I would love to hear them. After reviewing lots of customer reviews for the books suggested thus far I think I'll use two books. One to introduce me to programming (Head First C#) and then one to cover an extensive overview of the language (Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition). I don't think I'll read the entire Pro book, as much is covered I don't think I'll be using at all (ASP, LINQ, etc...) and I figure after going through both of these that any additional book purchases for specializing should be pretty clear to me.

[Edited by - modmiddy on April 22, 2008 5:00:49 PM]

##### Share on other sites
ranakor    439
I see , are you planning to go for a single exe client or for a webpage style interface? If the later you may want to toss a silverlight/wpf book in there but you can decide on that after you've read the rest and get a feel for the big picture.

I learnt C# from scratch and while there has been quite a few books in beetween i'd say you'd know most of what i know just getting a book that gives you the basic of the languages (like this one wich is the 1st one i need , and i only just had a bit of C++ experience before)

to learn the basics of programming alongside the language:
clicky

and then the one i suggested highter up after to learn most of the .net framework on the surface , the new features of latest version of the language (if you have no programming experience you want to learn them after getting the 2005 version in your head as some are quite advanced in nature) and the new APIs

click me

##### Share on other sites
modmiddy    122
I planned on a single exe program. I hadn't even considered doing a web interface. That would probably be much more complicated though and possibly limited in features compared to the single exe route.

##### Share on other sites
ranakor    439
Quote:
 Original post by modmiddyI planned on a single exe program. I hadn't even considered doing a web interface. That would probably be much more complicated though and possibly limited in features compared to the single exe route.

it would be pretty much the same thing in silverlight i think actually , never toyed around with it tho , in any case it comes after the knowledge in those 2 books if you want to learn it so you can decide on that later (there's already quite a lot to learn before , will keep you occupied for a few monthes)

##### Share on other sites
EdR    117
Quote:
 Original post by daviangelBest C# book I've read and one of the few that's for someone new to programming is Head First C#
Head First C# is another very good one.

##### Share on other sites
Yarb    122
Quote:
 Original post by daviangelBest C# book I've read and one of the few that's for someone new to programming is Head First C#

I have to respectfully disagree, Head First C# is so full of errors that I found it to be an excercise in frustration. Even with my 2nd printing copy there are 17 pages of addendum posted on line, one of which requires you to reprint 6 pages to completely replace the pages in the book.

Worst $50 I ever spent on a book. Yarb I do like C# Step by Step. #### Share this post ##### Link to post ##### Share on other sites daviangel 604 Quote: Original post by Yarb Quote:  Original post by daviangelBest C# book I've read and one of the few that's for someone new to programming is Head First C# I have to respectfully disagree, Head First C# is so full of errors that I found it to be an excercise in frustration. Even with my 2nd printing copy there are 17 pages of addendum posted on line, one of which requires you to reprint 6 pages to completely replace the pages in the book. Worst$50 I ever spent on a book.

Yarb

I do like C# Step by Step.

I'm guessing you don't read alot of computer books?
The reason I say this is that the majority I've read have about that many errors unless it's a Knuth or Petzold book which comes out once every several years and the author's willing to pay you for the mistakes you find in the book!
Here is the errata page for "Accelerated C++" one of the most recommended books on this site and I believe it was 6 pages or more when I printed out all the errors for my copy.
Most books don't even bother to post errata pages or respond to reader inquiries about errors and typo's in their books. That's one area in which O'reilly books are really good about. On the other hand after reading post like yours if I was a book author I would just keep my mouth shut when people found errors/typos n my bok and act like the book was perfect like Microsoft does with it's software-LOL!
If you want a book with no errors look no further than Petzold like I said since he must go through his books with a fine toothed comb or maybe it's his master's in math that makes him such a perfectionist? Plus his C# book is available online for free but not as readable as "head first c#" IMO. Actually I'd recommend "C# Step by Step" before Petzold since it's alot more readable.

##### Share on other sites
Yarb    122
I understand that there will always be some errata but in this case they rearranged the book and forgot to change all the problems. They have one case where the problem cannot be solved as it is presented without using techniques from later chapters. I have read a lot of books over the years, some programming, others app related and this is by far the greatest train wreck I have seen. Looking at the other Head First Series errata you will see they are far smaller and with far fewer "Critical" issues.

I also want to point out that the 17 page errata I mentioned was JUST for the 2nd edition printing I had. Take a look 1/08 printing errata

C# step by step now has a corrected 4th edition available, just look for (4/08) in the bottom right corner of the copyright page.

On a positive note Barnes and Noble happily took my copy, loaded with hand written errata notes, back once they saw the size and seriousness of the errata file.

Yarb