Head First C#

Front Cover
"O'Reilly Media, Inc.", Nov 26, 2007 - Computers - 778 pages

Head First C# is a complete learning experience for object-oriented programming, C#, and the Visual Studio IDE. Built for your brain, this book covers C# 3.0 and Visual Studio 2008, and teaches everything from language fundamentals to advanced topics including garbage collection, extension methods, and double-buffered animation. You'll also master C#'s hottest and newest syntax, LINQ, for querying SQL databases, .NET collections, and XML documents. By the time you're through, you'll be a proficient C# programmer, designing and coding large-scale applications.

Every few chapters you will come across a lab that lets you apply what you've learned up to that point. Each lab is designed to simulate a professional programming task, increasing in complexity until-at last-you build a working Invaders game, complete with shooting ships, aliens descending while firing, and an animated death sequence for unlucky starfighters. This remarkably engaging book will have you going from zero to 60 with C# in no time flat.

 

Contents

Get Productive with C Visual Applications in 10 minutes or less
1
Its All Just Code Under the Hood
43
Objects Get Oriented Making Code Make Sense
85
Types and References Its 1000 Do you know where your data is?
123
A Day at the Races
163
Encapsulation Keep your privates private
173
Inheritance Your objects family tree
205
Interfaces and Abstract Classes Making classes keep their promises
251
Exception Handling Putting out fires gets old
439
Events and Delegates What your code does when youre not looking
483
Review and Preview Knowledge power and building cool stuff
515
Controls and Graphics Make it pretty
563
CAPTAIN AMAZING THE DEATH OF THE OBJECT
621
LINQ Get control of your data
653
Invaders
681
Leftovers The top 5 things we wanted to include in this book
703

Enums and Collections Storing lots of data
309
The Quest
363
Reading and Writing Files Save the byte array save the world
385

Other editions - View all

Common terms and phrases