Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Do you want to learn C#? Programmers around the world have learned that C# lets them design great-looking programs and build them fast. With C#, you ve got a powerful programming language and a valuable tool at your fingertips. And with the Visual Studio IDE, you ll never have to spend hours writing obscure code just to get a button working. C#, Visual Studio and .NET take care of the grunt-work, and let you focus on the interesting parts of getting your programs written. Sound appealing? Unlike other C# books, which just show you examples and expect you to just memorize them and move on, Head First C# gets you writing code from the beginning. You're given the tools you need, and then you're guided through fun and engaging programming projects. You'll build programs to play a card game, explore a house, and help lazy programmers manage their sick day excuses. But it's not all fun and games: you'll build business applications too, like a contact database and a program to help a party planner estimate her dinner parties. You'll build a dungeon role-playing game and a fully animated, colorful simulation of a beehive. And by the end of the book, you'll build a fast-paced, full-featured retro Invaders arcade game. Make no mistake: by the time you're done with Head First C#, you'll be able to build full-scale, complex, and highly visual programs. And you'll have all of the C# tools you need to tackle almost any programming problem that comes your way. Head First C# is built for your brain, using the revolutionary approach that was pioneered by the highly acclaimed and popular Head First series. You'll never get that bored, "eyes glazed over" feeling from Head First C#, because it guides you through one challenging project after another until, by the end of the book, you're a C# rock star! Here's what you'll learn:

  • Core C# programming concepts

  • How to use the Visual Studio 2008 IDE to build, debug and run your programs

  • Important .NET 3.5 features, including generic collections, Windows forms, GDI+ graphics, streams, serialization and more

  • Using object oriented programming concepts to help you build well-designed programs

  • How to build robust applications with good error handling

  • The latest C# 3.0 features, including LINQ, object and collection initializers, automatic properties, extension methods and more

  • Beginning programmers who want to learn programming from the ground up

  • More advanced programmers who are proficient in another language (like Visual Basic, Java, SQL, FoxPro) and want to add C# to their toolbox

  • Programmers who understand basic C# syntax, but are still looking to get a handle on how objects work

  • Anyone who's tried to learn C#, but had to deal with books full of dull examples and nothing but boring console applications

  • Lots of people who just want to learn how to build cool games!

Throughout the book, you'll confront and conquer advanced C# concepts. Some of the most mysterious ideas are demystified and explained with clear examples: how Unicode works, events and delegates, references versus value types, the stack versus the heap, what's really going on with garbage collection, and more.

Thousands of readers have learned C# using this innovative book, including:

Head First C# is built to work with any version of Visual Studio 2008, including the free express edition. (It can also can be used with any version of Visual Studio 2005.)

Subscriber Reviews

Average Rating: 3.7142857142857144 out of 5 rating Based on 7 Ratings

"Great Book " - by Priyanka on 18-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Easy to read like all other Head First Books
Report as Inappropriate

"Very interesting " - by dee on 04-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I am glad I found this book.Its just too interesting and at the same time makes it so easy to grasp even the hard concepts.I am still on the first chapter and loving it already!!
Report as Inappropriate

"Good but not great" - by Romundo on 18-APR-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
A good read, but not as nearly as good as their Design Patterns book.
A useful book to read on the train to learn the necessary concepts, but not a good reference book.
As an experienced developer with little knowledge of C#, found this book too wordy, needed to get into the guts quicker.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Head First C#

  • Catalog Page

Visit the errata page for Head First C#

  • Errata