Head First C#, 2nd Edition
- Length: 840 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2010-05-28
- ISBN-10: 1449380344
- ISBN-13: 9781449380342
- Sales Rank: #957042 (See Top 100 Books)
Head First C#, 2E: A Learner’s Guide to Real-World Programming with Visual C# and .NET (Head First Guides)
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
Table of Contents
Chapter 1. Get productive with C#: Visual applications, in 10 minutes or less
Chapter 2. It’s all just code: Under the hood
Chapter 3. Objects: get oriented! Making code make sense
Chapter 4. Types and references: It’s 10:00. Do you know where your data is?
Chapter 5. Encapsulation: Keep your privates…private
Chapter 6. Inheritance: Your object’s family tree
Chapter 7. Interfaces and abstract classes: Making classes keep their promises
Chapter 8. Enums and collections: Storing lots of data
Chapter 9. Reading and writing files: Save the byte array, save the world
Chapter 10. Exception handling: Putting out fires gets old
Chapter 11. Events and delegates. What your code does when you’re not looking
Chatper 12. Review and preview: Knowledge, power, and building cool stuff
Chapter 13. Controls and graphics: Make it pretty
Chapter 14. Captain Amazing: The Death of the Object
Chapter 15. LINQ: Get control of your data
Appendix I: Leftovers: The top 11 things we wanted to include in this book