This is the latest edition of our best-selling C# foundations book. It focuses on how to develop professional Windows Forms applications with C#. But along the way, it teaches you the C# language and core skills that you’ll use to develop any C# application…whether for Windows or for the web.
The content continues to evolve with the language, of course. For example, this edition ends with an introduction to Windows 8 programming, so you can see what’s involved in creating touch-screen applications that run on tablets.
But one thing has stayed the same over the years: We still call this “the C# book you’ll wish you’d bought first” because it gets you developing professional C# applications without any wasted time or effort.
Who this book is for
This book is for anyone who wants to learn how to use C# 2012 to develop Windows Forms applications.
- It works if you’re new to Microsoft’s .NET development environment.
- It works if you’re an experienced .NET developer who’s new to C#.
- It works if you have programming experience with another language like Java, C++, or COBOL.
- And it works if you’ve already read 3 or 4 other C# 2012 books and still don’t know how to develop a real-world business application.
Table of Contents
Section 1: An introduction to Visual Studio
Chapter 1. How to get started with Visual Studio
Chapter 2. How to design a Windows Forms application
Chapter 3. How to code and test a Windows Forms application
Section 2: The C# language essentials
Chapter 4. How to work with numeric and string data
Chapter 5. How to code control structures
Chapter 6. How to code methods and event handlers
Chapter 7. How to handle exceptions and validate data
Chapter 8. How to use arrays and collections
Chapter 9. How to work with dates and strings
Chapter 10. More skills for working with Windows forms and controls
Chapter 11. How to debug an application
Section 3: Object-oriented programming
Chapter 12. How to create and use classes
Chapter 13. How to work with indexers, delegates, events, and operators
Chapter 14. How to work with inheritance
Chapter 15. How to work with interfaces and generics
Chapter 16. How to organize and document your classes
Section 4: Database programming
Chapter 17. An introduction to database programming
Chapter 18. How to work with data sources and datasets
Chapter 19. How to work with bound controls and parameterized queries
Chapter 20. How to use ADO.NET to write your own data access code
Section 5: More skills for working with data
Chapter 21. How to work with files and data streams
Chapter 22. How to work with XML files
Chapter 23. How to use LINQ
Section 6: Enhancement, deployment, and Windows 8
Chapter 24. How to enhance the user interface
Chapter 25. How to deploy an application
Chapter 26. An introduction to Windows 8 programming
Appendix A. How to install and use the software and files for this book