Head First C#

Front Cover
"O'Reilly Media, Inc.", Dec 26, 2008 - Computers - 738 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
1
Its All Just Code
43
Objects Get Oriented
85
Types and References
123
Encapsulation
173
Inheritance
205
Interfaces and Abstract Classes
251
Enums and Collections
309
Exception Handling
439
Events and Delegates
483
Review and Preview
515
Controls and Graphics
563
The Death of an Object
621
LINQ
653
Leftovers
703
Index
717

Reading and Writing Files
385

Other editions - View all

Common terms and phrases

Bibliographic information