We updated the entire text to reflect Microsoft's latest release of Visual C# 2005. New items include:
- Screenshots updated to the Visual Studio 2005 IDE.
- Property accessors with different access modifiers.
- Viewing exception data with the Exception Assistant (a new feature of the Visual Studio 2005 Debugger).
- Using drag-and-drop techniques to create data-bound windows forms in ADO.NET 2.0.
- Using the Data Sources window to create application-wide data connections.
- Using a BindingSource to simplify the process of binding controls to an underlying data source.
- Using a BindingNavigator to enable simple navigation, insertion, deletion and editing of database data on a Windows Form.
- Using the Master Page Designer to create a common look and feel for ASP.NET Web pages.
- Using Visual Studio 2005 smart tag menus to perform many of the most common programming tasks when new controls are dragged onto a Windows Form or ASP.NET Web page.
- Using Visual Web Developer's built-in Web server to test ASP.NET 2.0 applications and Web services.
- Using an XmlDataSource to bind XML data sources to a control.
- Using a SqlDataSource to bind a SQL Server database to a control or set of controls.
- Using an ObjectDataSource to bind a control to an object that serves as a data source.
- Using the ASP.NET 2.0 "login" and "create new user" controls to personalize access to Web applications.
- Using generics and generic collections to create general models of methods and classes that can be declared once, but used with many types of data.
- Using generic collections from the Systems.Collections.Generic namespace.
Working with the creative services team at Prentice Hall, we redesigned the interior styles for our Deitel Developer Series books. In response to reader requests, we now place the key terms and the index's page reference for each defining occurrence in bold italic text for easier reference. We emphasize on-screen components in the bold Helvetica font (e.g., the File menu) and emphasize C# program text in the Lucida font (for example, int x = 5).
We syntax shade all the C# code, similar to the way most C# integrated-development environments and code editors syntax color code. This greatly improves code readability-an especially important goal, given that this book contains 16,800+ lines of code. Our syntax-shading conventions are as follows:
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 segments-we place light gray rectangles around the key code.