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
E-Book Content
Advance Praise for Head First C# “I’ve never read a computer book cover to cover, but this one held my interest from the first page to the last. If you want to learn C# in depth and have fun doing it, this is THE book for you.” — Andy Parker, fledgling C# programmer “It’s hard to really learn a programming language without good engaging examples, and this book is full of them! Head First C# will guide beginners of all sorts to a long and productive relationship with C# and the .NET Framework.” —Chris Burrows, developer for Microsoft’s C# Compiler team “With Head First C#, Andrew and Jenny have presented an excellent tutorial on learning C#. It is very approachable while covering a great amount of detail in a unique style. If you’ve been turned off by more conventional books on C#, you’ll love this one.” —Jay Hilyard, software developer, co-author of C# 3.0 Cookbook “I’d reccomend this book to anyone looking for a great introduction into the world of programming and C#. From the first page onwards, the authors walks the reader through some of the more challenging concepts of C# in a simple, easy-to-follow way. At the end of some of the larger projects/labs, the reader can look back at their programs and stand in awe of what they’ve accomplished.” —David Sterling, developer for Microsoft’s Visual C# Compiler team “Head First C# is a highly enjoyable tutorial, full of memorable examples and entertaining exercises. Its lively style is sure to captivate readers—from the humorously annotated examples, to the Fireside Chats, where the abstract class and interface butt heads in a heated argument! For anyone new to programming, there’s no better way to dive in.” —Joseph Albahari, C# Design Architect at Egton Medical Information Systems, the UK’s largest primary healthcare software supplier, co-author of C# 3.0 in a Nutshell “[Head First C#] was an easy book to read and understand. I will recommend this book to any developer wanting to jump into the C# waters. I will recommend it to the advanced developer that wants to understand better what is happening with their code. [I will recommend it to developers who] want to find a better way to explain how C# works to their less-seasoned developer friends.” —Giuseppe Turitto, C# and ASP.NET developer for Cornwall Consulting Group “Andrew and Jenny have crafted another stimulating Head First learning experience. Gr