Head First C#, 2E: A Learner's Guide to Real-World Programming with Visual C# and .NET (Head First Guides) Second Edition
| Andrew Stellman (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
$29.49
(143)
Only 20 left in stock - order soon.
You want to learn C# programming, but you're not sure you want to suffer through another tedious technical book. You're in luck: Head First C# introduces this language in a fun, visual way. You'll quickly learn everything from creating your first program to learning sophisticated coding skills with C# 4.0, Visual Studio 2010 and .NET 4, while avoiding common errors that frustrate many students.
The second edition offers several hands-on labs along the way to help you build and test programs using skills you've learned up to that point. In the final lab, you'll put everything together. From objects to garbage collection and from exceptions to interactions, you'll learn C# in a way that engages and entertains your brain. Here are a few of the topics you'll learn:
- Start by building a useful application with pre-built components in Visual Studio 2010
- Discover how objects work, using real-world examples
- Store numbers, text, and other basic data types using primitives
- Save complex data in files and databases with great C# tools
- Build intuitive and easy-to-use interfaces by following simple rules
- Design your code to catch exceptions -- things you don't expect
- Develop good programming habits, such as refactoring code and applying unit tests
- Learn how web services put your programs in touch with the rest of the world
- Make it easy for other people to install your software
Frequently bought together
Customers who viewed this item also viewed
Editorial Reviews
About the Author
Andrew Stellman, despite being raised a New Yorker, has lived in Pittsburgh twice. The first time was when he graduated from Carnegie Mellon's School of Computer Science, and then again when he and Jenny were starting their consulting business and writing their first project management book for O'Reilly. When he moved back to his hometown, his first job after college was as a programmer at EMI-Capitol Records--which actually made sense, since he went to LaGuardia High School of Music and Art and the Performing Arts to study cello and jazz bass guitar. He and Jenny first worked together at that same financial software company, where he was managing a team of programmers. He's since managed various teams of software engineers, requirements analysts, and led process improvement efforts. Andrew keeps himself busy eating an enormous amount of string cheese and Middle Eastern desserts, playing music (but video games even more), studying taiji and aikido, having a girlfriend named Lisa, and owning a pomeranian. For more information about Andrew, Jennifer Greene, and their books, visit http://www.stellman-greene.com.
Jennifer Greene has managed just about every aspect of software development during her career. She spent the past 15 years building software for many different kinds of companies, including small start-ups and huge companies. Jenny's built software test teams and has helped many companies diagnose and deal with habitual process problems so they could build better software. Since her start in software test and process definition, she's branched out into development management and project management. Jenny is currently managing a large development team for a global media company.
I'd like to read this book on Kindle
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : O'Reilly Media; Second edition (May 31, 2010)
- Language : English
- Paperback : 840 pages
- ISBN-10 : 1449380344
- ISBN-13 : 978-1449380342
- Item Weight : 3.41 pounds
- Dimensions : 8 x 1.8 x 9.25 inches
- Best Sellers Rank: #1,398,668 in Books (See Top 100 in Books)
- #415 in C# Programming (Books)
- #424 in Microsoft .NET
- #1,020 in Object-Oriented Design
- Customer Reviews:
About the author

Andrew Stellman is a developer, architect, speaker, agile coach, project manager, and expert in building better software. He has over two decades of professional experience building software, and has architected large-scale real-time back end systems, managed large international software teams, been a Vice President at a major investment bank, and consulted for companies, schools, and corporations, including Microsoft, the National Bureau of Economic Research, Bank of America, Notre Dame, and MIT. He's had the privilege of working with some pretty amazing programmers during that time, and likes to think that he's learned a few things from them.
Customer reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The actual coding/programming part of the tutorial in Chapter 2 is very confusing. They throw a lot of coding and terminology onto the page that makes sense, but is hard to make sense of. Instead of talking you through each part of the code one step at a time, the book throws down a puzzle of information on the page that the reader has to piece together by reading all the side notes, arrows, bullet points, and pictures. While it looks like the additional elements to the page are optional and enhance the learning process, they are actually very critical to the process and are easy to overlook.
There is a lot of clutter on the pages, and it is easy to lose focus on what I am actually reading. Some pages are very well written and informative, while others are very jumbled and hard to understand. The book also throws in exercises with the answer on the next page. I am not going to write in my book. I am especially not going to write in my book only to find out on the next page I was wrong and have to cross/scribble out my writing. I'll sometimes be halfway through an activity thinking i'm reading the definition of a term only to see on the next page I was actually supposed to match the term to the definition - it's annoying having to teach myself to forget certain things I just read with the actual information.
The book also has exercises to do, but with what seems like little explanation for what to do and at the end when i just went to the solution, I was able to get it working but I couldn't explain how the code worked. The exercise in chapter 2 says to make a forum application with a button that when you push it it will cycle through different colors. I didn't know how to do this, and I had no help until I read the solution. The book gave a solution that I typed in, but it was a solution that wasn't covered in the entire chapter and used terms that I wasn't familiar with. It was nice to see I could build something, but I don't feel I learned anything other than how to copy text from the book onto the screen verbatim.
I am going to continue with this book because I bought it and have it as my only tool right now, but I feel like I'm being taught by people who know everything in programing and don't understand that I know nothing and need to be walked through it with a lot more hand holding than what is offered. It's nice to see the solutions to exercises and I am learning a lot of good concepts, but they don't elaborate on the basic information someone should know when starting out and they leap over a lot of information with one or two pages that warrant much more questioning and understanding before being able to use that information effectively.
EDIT: I am rating this down an extra star. I am still not able to understand this book or absorb any of the information in it. I can't skip ahead to the next chapter without understanding the current chapter I am on. I can't understand the current chapter I am on because the book doesn't explain it well enough. It's very frustrating. I do not like this book.
I also like the layout of the book and the approach that they take. It is not the typical technical book so if you are looking for that, don't get this book. Their unique style repeats information in multiple ways and helps reinforce the material that they are trying to teach you. But it is done is a way that feels natural and not "You just told me that...", duh, kind of way.
This version of the book does not include information on Windows 8, which was important to me. I didn't want anything related to Windows 8 which is also why I picked this version of the book.
basically this is not a a "nitty gritty" coding book which is what I wanted. I basically went through have of this book and decided to convert to C++ where I found several excellent books.
I find I can review a topic by quickly by looking a large note or a unique picture associated with a topic in the book. This C# book is organized well, taking you through the various aspects of the language and OOP. Sometimes an image is worth a thousand words and the images in the book provide an instant snap shot of the concept - instead of a thousand words that put you to sleep. Interesting learning tools at the end of the chapters like the traditional code creation as well as cross word puzzles.
However: This is not the last book you will buy. It should be one of the first.
This really covers the basics and there are a lot more advanced topics out there. Like multi threading, services, LINQ, database connectivity, programming for web sites as opposed to desk tops. But you have to start some place, and this will make it more enjoyable.
This book is vital for any aspiring c# programmer who needs an intuitive way to learn.
The best alternative to boring lectures and very fun!
The book is a presented for the absolute beginner and has a few jokes here and there..
I have the kindle edition and have borrowed the real book and the kindle version looks exactly the same!
Lastly, the book is straight to the point and easy to understand. :D
Top reviews from other countries
From the first page, instead of inducing sleep with page after page, chapter after chapter, of object-oriented programming and Visual Studio IDE definitions (that may put off first-time coders),the writers quickly immerse the reader into the ins and outs of the language, coding (practical) applications, slowly introducing all the definitions and intricacies of the C# language, whilst facilitating the assimilation of the concepts with a "friendly" visual and textual style approach.
Throughout the book there are several challenging projects the reader can and should write, covering all the aspects of said language and framework: database querying, drawing graphics and animations, object-oriented programming, etc...
Experienced programmers won't find here any programming gems or answer to their problems; more advanced topics like refactoring, serialization, Windows Presentation Foundation, enumerations, etc., are glimpsed over only a few pages in the left-over chapters at the end of the book, books abound which treat this and other subjects as easily as Head First C#. For the beginner, this is already a book full of work! A must buy for anyone interested in the C# language.
I've read about many of the concepts in other books about C++ (interfaces virtual classes,polymorphism etc.), but never actually understood the true nature or power of some of the concepts until now. Each chapter I have many OH NOW I GET IT moments which drive you on to learn more and more.
Unusually, the book offers examples of common bugs that show what won't work / compile and then explains why, which is just great to help get your head around why much of the structural parts of the language were invented in the first place.
The examples are very cunning at shoe horning knowledge into your head without you realizing it, and surprisingly good fun to learn with. The themed nature of each exercise fits the subject matter perfectly. I am in awe of the amount of careful planning and work the authors have put into this book.
Can't praise this title enough!
I tried C# a while ago with a different book, but just lost interest in it VERY quickly. I thought this might just be a case of a language being too complex for me, so I tried Java. The IDE's seemed too basic and non standard... and again books left me a little empty and I quickly got bored.
So, I decided if nothing else a solid IDE seemed a good idea, so I looked for a book that was based around Visual Studio, preferably the free version, so I had no great start up costs considering I seemed to get bored so quickly! I also looked for a book that might hold my interest. Spurred on by the reviews of this book, I took the plunge.
Well, its early days, I'm only a couple of chapters in, but I have to say, its different to a lot of programming tuition books I've tried. Its not trying to be 'quirky' and entertaining whilst actually just being very formal (i.e. a school text book with a random joke dotted in that isn't funny... how annoying is that... they often seem to do this with books of this nature... grrr).
Its actually is a little hard to get your head around the layout, but they explain that its designed to aid learning. Well, so far its making a bit of sense. Its paced well and I seem to be understanding and remembering things I hadn't before.
So, early days, but I like the way they've done this... fingers crossed... wish me luck!!
I've done some college courses that had a bit of the principles of encapsulation and dealing with classes but this book has helped everything "click".
I'm not sure if it is the book that has helped or if my experience in working with VB/VBA has helped but it has triggered the right things to get the solutions done.
There are puzzles in the book that allow you to build up a solution to solve for yourself, something which I found was lacking in other books that weren't based on academics.
If you have considered learning C#, give the book a go and stick with it, I've been surprised with what I've picked up.
There were issues with getting the graphics from the website, however, I did find them (eventually) under the edition of the book. Some people (I believe) have been looking for a graphic for Edition 2 within the Edition 3 drop downs. It's not immediately clear on the website but everything you need is there. I have dropped a star because of this. It really should be clearer.







