This book is for anyone who wants to write good C# 2008 code—even if you have never programmed before.
Writing good code can be a challenge. There are so many options, especially in a language like C#. If you want to really get the best from a programming language, you need to know which features work best in which situations and understand their strengths and weaknesses. It is this understanding that makes the difference between coding and coding well.
Beginning C# 2008 has been written to teach you how to use the C# programming language to solve problems. From the earliest chapters, and from the first introductory concepts, you’ll be looking at real-world programming challenges and learning how C# can be used to overcome them. As you progress through the book, the problems become more involved and interesting, while the solutions become correspondingly more complex and powerful as C# features interact to achieve the results that you want.
By the time you’ve finished reading this book and worked through the sample exercises, you’ll be a confident and very competent C# programmer. You will still have many explorations of the .NET Framework API to look forward to in your future career, but you will have a firm foundation to build from and you will know exactly where to go to find the things that you need to progress confidently in your projects.
Christian Gross is dedicated to helping his readers understand every detail of Beginning C# 2008. You can contact him via Skype (christianhgross) if you have bought this book and have a question about something he discusses. If Christian is available when you contact him, he will even try to answer you right away!
Spis treści
Three Applications: Learning .NET Fundamentals.- Writing a Calculator: Learning about .NET Numbers and Value Types.- A Multilingual Greeting 'Oui, Yes, Ja’: Learning String Manipulations.- If Walks == Duck and Talks == Duck then is Duck: Learning about C# decisions and loops.- Making Your Application Tell You Something Is Wrong: Learning about C# Exception Handling.- The Case of the Rectangle That Did Not Want to be a Shape: Learning the basics of C# OO.- The Multi-National Tax Accountant: Learning more C# OO.- A Cash Register: Learning How To Manage Many Elements.- A Stock Trading Application: Learning About Delegates.- Controlling a Bakery Assembly Line: Learning about properties and indexers.- Saving the State of Your Program: Learning about file operations and object serialization.- Configuring Your Application: Learning about configuration files and XML processing.- The Decisive Stock Trading Application: Learning about software component abstraction using C# Generics.- Tag Team Threads: Learning more C# Generics and Threads.- Writing a Stock Simulation Application: Learning about C# Databases.- Pin the Tail On the Object: Learning about Implicit Local Types and Extensions methods.- Building a Just In Time Factory: Learning About Lambda Expressions.- A Programmatic Calculator: Learning About Anonymous Types.- Slicing and Dicing Stock Date: Learning About LINQ.- Putting Everything Together Into A Finished Application.
O autorze
Christian Gross is a consultant with vast experience in the client/server world. He has consulted for Microsoft on DNA solutions, and he has held consulting positions with Daimler Benz, Microsoft, Nat West, and other major corporations. Gross was a contributor to Professional Active Server Pages, Professional SQL Server 6.5 Administration, Professional NT Internet Information Server Administration, and Programming Microsoft Windows 2000 Unleashed. He is the author of A Programmer’s Introduction to Windows DNA.