Features in Visual C# 2005 How to Program, 2/e
This new edition contains many new and enhanced features.
Updated for Visual Studio 2005, C# 2.0 and .NET 2.0
We updated the entire text to reflect Microsoft's latest release of Visual C# 2005. New items include:
New Interior Design
Working with the creative services team at Prentice Hall, we redesigned the interior styles for our
How to Program Series
books. In response to reader
comments appear in italic keywords appear in bold, italic errors and JSP scriptlet delimiters appear in bold, black constants and literal values appear in bold, gray all other code appears in plain, black
Extensive code highlighting makes it easy for readers to spot each program's featured code segmentswe place white rectangles around the key code.
Early Classes and Objects Approach
We still introduce basic object-technology concepts and terminology in Chapter 1. In the previous edition, we developed custom classes in Chapter 9, but in this edition, we start doing that in the completely new Chapter 4. Chapters 58 have been
Carefully Tuned Treatment of Object-Oriented Programming in Chapters 911
We performed a high-precision upgrade of Visual C# 2005 How to Program, 2/e . This edition is clearer and more accessibleespecially if you are new to object-oriented programming (OOP). We completely rewrote the OOP chapters, integrating an employee payroll class hierarchy case study and motivating interfaces with an accounts payable hierarchy.
We include many case studies, some spanning multiple sections and chapters:
Integrated GradeBook Case Study
The Unified Modeling Language (UML)Using the UML 2.0 to Develop an Object-Oriented Design of an ATM
The Unified Modeling Language (UML ) has become the preferred graphical modeling language for designing object-oriented systems. All the UML diagrams in the book
includes a new, optional (but highly recommended) case study on object-oriented design using the UML. The case study was reviewed by a distinguished team of OOD/UML academic and industry professionals, including
Web Forms, Web Controls and ASP.NET 2.0
The .NET platform enables developers to create robust, scalable Web-based applications. Microsoft's .NET server-side technology, Active Server Pages (ASP) .NET, allows programmers to build Web documents that respond to client requests. To enable interactive Web pages, server-side programs process information users input into HTML forms. ASP .NET provides enhanced visual programming capabilities, similar to those used in building Windows forms for desktop programs. Programmers can create Web pages visually, by dragging and dropping Web controls onto Web forms. Chapter 21, ASP.NET, Web Forms and Web Controls, introduces these powerful technologies.
Web Services and ASP.NET 2.0
Microsoft's .NET strategy embraces the Internet and Web as integral to software development and deployment. Web services technology enables information sharing, e-commerce and other interactions using standard Internet protocols and technologies, such as Hypertext Transfer Protocol (HTTP), Extensible Markup Language (XML) and Simple Object Access Protocol (SOAP). Web services enable programmers to package application functionality in a manner that turns the Web into a library of reusable software components. In Chapter 22, we present a Web service that allows users to manipulate huge integersintegers too large to be represented with C#'s built-in data types. In this example, a user enters two huge integers and presses
Object-oriented programming is the most widely employed technique for developing robust, reusable software. This text offers a rich treatment of C#'s object-oriented programming features. Chapter 4 introduces how to create classes and objects. These concepts are extended in Chapter 9. Chapter 10 discusses how to create powerful new classes quickly by using inheritance to "
Use of the Extensible Markup Language (XML) is exploding in the
Databases store vast amounts of information that individuals and organizations must access to conduct business. As an evolution of Microsoft's ActiveX Data Objects (ADO) technology, ADO.NET represents a new approach for building applications that interact with databases. ADO.NET uses XML and an enhanced object model to provide developers with the tools they need to access and manipulate databases for large-scale, extensible, mission-critical multi-
Visual Studio 2005 Debugger
In Appendix C we explain how to use key debugger features, such as setting "breakpoints" and "