Welcome to C# and the world of Windows, Internet and Web programming with Visual Studio 2005 and the .NET 2.0 platform! This book presents leading-edge computing technologies for computer science students, software developers and IT professionals.
At Deitel & Associates, we write computer science textbooks for college students and professional books for software developers. We also teach this material in industry seminars at organizations worldwide.
This book was a joy to create. To start, we put the previous edition under the microscope:
All of this has been carefully scrutinized by a substantial team of academics, .NET industry developers and members of the Microsoft C# development team.
We believe that this book and its support materials have everything instructors and students need for an informative, interesting, challenging and entertaining C# educational experience. In this Preface, we overview various conventions used in the book, such as syntax shading the code examples and code highlighting. We also discuss the book's comprehensive suite of ancillary materials that help instructors maximize their students' learning experience, including the Prentice Hall Instructor's Resource Center, PowerPoint® Slide lecture notes, companion Web site, SafariX (Pearson Education's WebBook publications) and more.
Visual C# 2005 How to Program, 2/e presents 230 complete, working C# programs and depicts their inputs and outputs in actual screen shots of running programs. This is our signature "live-code" approachwe present concepts in the context of complete working programs.
As you read this book, if you have questions, send an e-mail to email@example.com; we will respond promptly. For updates on this book and the status of C# software, and for the latest news on all Deitel publications and services, visit www.deitel.com regularly and be sure to sign up for the free Deitel® Buzz Online e-mail newsletter at www.deitel.com/newsletter/subscribe.html.
Before You Begin
Downloading Microsoft Visual C# 2005 Express Edition Software
On November 7, 2005 Microsoft released its Visual Studio 2005 development tools, including the Visual C# 2005 Express Edition. Per Microsoft's Web site, Microsoft Express Editions are "lightweight, easy-to-use and easy-to-learn tools for the hobbyist, novice and student developer." This product is available free for download through November 6, 2006. After this date, if you have already downloaded the software, it will still work. However, if you need to download the software after this one-year period, Microsoft may charge a fee for the download.
You may use this software to compile and execute the example programs in the book. You can download Visual C# 2005 Express Edition at:
Microsoft provides a dedicated forum for help using the Express Edition:
Visual C# 2005 How to Program, 2/e Code Examples
The book's source code is available free for download at www.deitel.com/books/csharphtp2/. We assume that you are using Microsoft Windows. If you are running a different operating system and have questions about copying the example files to your computer, please see your instructor.
Once you download the complete examples.zip file, extract the files to the C:\ folder on your computer. This will create an examples folder that contains subfolders for each chapter (e.g., ch01, ch02, etc.)
Additional Software Downloads
For the examples in Chapter 17, Graphics and Multimedia, we use Microsoft Agent. If students use the examples in a lab environment, more than likely this software will have to be installed as part of the lab setup.
For Chapter 20, you will need SQL Server 2005 Express Edition (also available as part of the Visual C# 2005 Express Edition download)
For Chapters 21 and 22, you will need Visual Web Developer 2005 Express Edition
We provide updates on the status of this software at www.deitel.com and in our free e-mail newsletter www.deitel.com/newsletter/subscribe.html.