C# A Programmer's Introduction

( 1 )

Overview

The practicing programmer's Deitel Live-Code introduction to C# and the powerful Microsoft .NET Framework

This new book in the Deitel Developer Series introduces Microsoft's C# language, using the Deitels' signature Live-Code approach to teaching programming. Every important fundamental C# concept is presented in the context of a fully-tested program, complete with syntax shading, detailed line-by-line descriptions and program outputs. The book features 152 Live-Code programs ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (14) from $1.99   
  • New (2) from $49.99   
  • Used (12) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$49.99
Seller since 2008

Feedback rating:

(169)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
0130461326 BRAND NEW NEVER USED IN STOCK 125,000+ HAPPY CUSTOMERS SHIP EVERY DAY WITH FREE TRACKING NUMBER

Ships from: fallbrook, CA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
$105.00
Seller since 2014

Feedback rating:

(164)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

The practicing programmer's Deitel Live-Code introduction to C# and the powerful Microsoft .NET Framework

This new book in the Deitel Developer Series introduces Microsoft's C# language, using the Deitels' signature Live-Code approach to teaching programming. Every important fundamental C# concept is presented in the context of a fully-tested program, complete with syntax shading, detailed line-by-line descriptions and program outputs. The book features 152 Live-Code programs that contain 11,500 lines of C# program code. In addition, the book includes 353 programming tips that show you how to build code that is portable, reusable and optimized for performance.

Start by learning the basics of the Visual Studio .NET integrated development environment. Then move on to C# fundamentals, including control structures, methods and arrays. Next comes the Deitels' classic treatment of object-based and object-oriented programming, exception handling, and graphical-user-interface programming. Finally, begin learning about the key technologies you will need to build next generation XML-based Web services, including ASP .NET, ADO .NET and XML.

Dr. Harvey M. Deitel and Paul J. Deitel are the founders of Deitel & Associates, Inc., the internationally recognized IT content-creation and corporate-training organization. Together with their colleagues at Deitel & Associates, Inc., they have written the successful How to Program Series of college textbooks that hundreds of thousands of students and professionals throughout the world have used to master programming in C, C++, Java, C#, VB .NET, Perl, Python, and other languages.

The Deitel Developer Series is designedfor practicing programmers. The series presents focused treatments of emerging technologies, including .NET, J2EE, Web services and more. Each book in the series contains the same Live-Code teaching methodology used so successfully in the Deitels' How to Program Series college textbooks and instructor-led corporate-training courses. The series includes a broad selection of books suitable for three types of readers:

A Technical Introduction
Broad overviews of new technologies for programmers, technical managers and other technical professionals
A Programmer's Introduction
Focused treatments of programming fundamentals for practicing programmers and for novices
For Experienced Programmers
Detailed treatments of language topics for experienced programmers
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Deitel & Associates have spent years refining their powerful LIVE-CODETM approach to teaching programming languages: via live seminars for working developers at companies like IBM, GE, and Sun; and via the How to Program books that have guided millions of students into the profession.

Pros have long wished for books that deliver Deitel’s powerful teaching, without the “college” material designed for CS101. Now, with the DEITEL Developer Series, the firm has delivered, big time, with books such as C#: A Programmer’s Introduction -- an outstanding introduction for relatively inexperienced working developers.

This disciplined guide focuses on creating clear and logical code that’s rock-solid reliable and easy to maintain. At its heart: 152 complete programs, each organized into small, meticulously explained pieces, and color coded for clarity. Every new concept is presented through a working example, followed by a screen capture that shows exactly what the program does. As in all DEITEL books, you’ll also find hundreds of expert tips on software engineering, performance, usability, even portability. From .NET basics to C# objects and events, all the way to web services, start here if you want to do it right. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

From The Critics
Introduces the basics of the .NET environment, the C# language, object-oriented programming, and XML-based web services. Written for novice programmers, the guide focuses on program clarity through the reliable techniques of structured programming, object-based programming, and event-driven programming. Topics include methods, arrays, inheritance, exception handling, the graphical user interface, strings, databases and SQL, ASP.NET, FCL collections, and accessibility. Annotation c. Book News, Inc., Portland, OR
Read More Show Less

Product Details

  • ISBN-13: 9780130461322
  • Publisher: Pearson Education
  • Publication date: 7/28/2002
  • Series: Deitel Developers Series
  • Pages: 928
  • Product dimensions: 7.12 (w) x 9.12 (h) x 1.65 (d)

Read an Excerpt

Preface

Live in fragments no longer. Only connect.

—Edward Morgan Forster

We wove a web in childhood,
A web of sunny air.

—Charlotte Bronte

Welcome to C# and the world of Windows, Internet and World-Wide-Web programming with Visual Studio .NET and the .NET platform! This book is the first in the new Deitel Developer Series, which presents leading-edge computing technologies to software developers and IT professionals.

C# (pronounced "C-sharp") was developed by Microsoft expressly for its .NET platform. C# provides the features that are most important to programmers, such as object-oriented programming, graphics, graphical-user-interface (GUI) components, exception handling, multithreading, multimedia (audio, images, animation and video), file processing, prepackaged data structures, database processing, Internet and World-Wide-Web-based multi-tier application development, networking, Web services and distributed computing. The language is appropriate for implementing Internet- and World-Wide-Web-based applications that integrate seamlessly with Windows-based applications.

The .NET platform offers powerful capabilities for software development and deployment, including language and platform independence. For example, developers writing code in any (or several) of the .NET languages (such as C#, Visual Basic .NET and Visual C++ .NET) can contribute components to the same software product. In addition to providing language independence, .NET extends program portability by enabling .NET applications to reside on, and communicate across,multiple platforms. This facilitates the creation and use of Web services, which are applications that expose functionality to clients via the Internet.

The .NET platform enables Web-based applications to be distributed to consumer-electronic devices, such as wireless phones and personal digital assistants (PDAs), as well as to desktop computers. The capabilities that Microsoft has incorporated into the .NET platform increase programmer productivity and decrease development time.

Who Should Read This Book

Deitel & Associates, Inc. has several C# publications, intended for various audiences.

Our first C# book, C# How to Program, was published as part of our How to Program Series, for college and university students. It provides a comprehensive treatment of C# and includes learning aids and extensive ancillary support. C# How to Program assumes that the reader has little or no programming experience. Early chapters focus on fundamental programming principles. The book builds on this to create increasingly complex and sophisticated programs that demonstrate how to use C# to create graphical user interfaces, networking applications, multithreaded applications, Web-based applications and more. We encourage professors and professionals to consider the C# Complete Training Course. This package includes C# How to Program as well as the C# Multimedia Cyber Classroom, an interactive multimedia CD-ROM that provides extensive e-Learning features. The C# Complete Training Course and C# Multimedia Cyber Classroom are discussed in detail later in this Preface.

This book, C#: A Programmer's Introduction, is part of the new Deitel Developer Series, intended for professional software developers-from novices through experienced programmers. C#: A Programmer's Introduction is a part of the A Programmer's Introduction subseries, which is designed for programmers with little (or no) programming experience. The book begins with C# programming fundamentals. The core of C#: A Programmer's Introduction emphasizes achieving program clarity through the proven techniques of structured programming, object-based programming, object-oriented programming (OOP) and event-driven programming. The book provides a rigorous introduction to programming principles in general and to C# fundamentals, in particular. It continues with brief introductions to upper-level topics such as ASP .NET, ADO .NET, and Web services. Unlike the How to Program Series books, the Deitel Developer Series books do not include the extensive pedagogic features and ancillary support materials required for academic courses.

Our third C# publication, C# for Experienced Programmers, is also part of the Deitel Developer Series. This publication is a part of the For Experienced Programmers subseries, designed for the experienced software developer who wants a deep treatment of a new technology with minimal, if any, introductory material. C# for Experienced Programmers delves deeply into the more sophisticated topics that are introduced briefly in C#: A Programmer's Introduction. There is considerable overlap between these books.

A fourth publication, ASP .NET with C# for Experienced Programmers, is forthcoming. This book was originally titled Advanced C# for Experienced Programmers.

Each of our C# books presents many complete, working C# programs and depicts their inputs and outputs in actual screen shots of running programs. This is our signature Live-Code approach—we present all concepts in the context of complete working programs.

Please examine both the Deitel Developer Series professional books and the How to Program Series textbooks to determine which best suits your needs. C#: A Programmer's Introduction and C# for Experienced Programmers are both derived from C# How to Program. Depending on your particular needs, you should purchase either one or both of these Deitel Developer Series books, or C# How to Program.

The C# books in the Deitel Developer Series were written after the first edition of C# How to Program. We added to each of these Deitel Developer Series books a chapter on the new Microsoft Mobile Internet Toolkit for our readers who wish to develop wireless Internet applications for cell phones, pagers and PDAs. This material will be added to the second edition of C# How to Program.

We sincerely hope that you enjoy learning C# with our publications.

Features of C#: A Programmer's Introduction

This edition contains many features, including:

  • Syntax Highlighting. This book uses five-way syntax highlighting to emphasize C# programming elements in a manner similar to that of Visual Studio .NET. Our syntax-highlighting conventions are as follows:
    • comments
    • keywords
    • literal values
    • errors and ASP .NET directives
    • text, class, method and variable names
  • "Code Washing." This is our term for the process we use to format the that they have a carefully commented, open layout. The code is grouped into small, well-documented pieces. This greatly improves code readability-an especially important goal for us, considering that this book contains approximately 11,550 lines of code in 152 complete Live-Code programs.
  • Web Forms, Web Controls, and ASP .NET. 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 is a significant departure from ASP 3.0, allowing developers to program Web-based applications using .NET's powerful object-oriented languages such as C# and Visual Basic .NET, rather than using only scripting languages. ASP .NET also 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 17, ASP .NET, Web Forms and Web Controls, introduces these powerful technologies.
  • Web Services and ASP .NET. 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 ma that turns the Web into a library of reusable software components. In Chapter 19, ASP .NET and Web Services, we present a Web service that allows users to manipulate "huge integers"-integers too large to be contained in C#'s built-in data types. In this example, a user enters two huge integers and presses buttons to invoke Web services that add, subtract and compare the two integers. We also present information related to Web services in Appendix K, Crystal Reports? for Visual Studio .NET, which discusses a popular reporting program for database-intensive applications. Crystal Reports, which is integrated into Visual Studio .NET, provides the ability to expose a report as a Web service. The appendix provides introductory information and directs readers to a walkthrough of this process on the Crystal Decisions Web site.
  • Object-Oriented Programming. 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 8, Object-Based Programming, introduces how to create classes and objects. These concepts are extended in Chapter 9, Object-Oriented Programming: Inheritance, which discusses how programmers can create powerful new classes quickly by "absorbing" the capabilities of existing classes.
  • XML. Use of Extensible Markup Language (XML) is exploding in the software-development industry, in the e-business and e-commerce communities, and is pervasive throughout the .NET platform. Because XML is a platform-independent technology for describing data and for creating markup languages, XML's data portability integrates well with C#-based por applications and services. Chapter 18, Extensible Markup Language (XML), introduces XML. In this chapter, we present XML markup and discuss the Document Object Model (DOM?), which is used to manipulate XML documents programmatically.
  • Multithreading. Computers enable programmers to perform many tasks in parallel (i.e., concurrently), such as printing documents, downloading files from a network and surfing the Web. Multithreading is the technology through which programmers can develop applications that perform concurrent tasks. Historically, a computer has contained a single, expensive processor, which its operating system would share among all applications. Today, processors are becoming increasingly inexpensive, making it possible to build affordable computers with many processors working in parallel-such computers are called multiprocessors. Multithreading is effective on both single-processor and multiprocessor systems. .NET's multithreading capabilities make the platform and its related technologies better prepared to handle today's sophisticated multimedia-intensive, database-intensive, network-based, multiprocessor-based, distributed applications. Chapter 12, Multithreading, introduces this powerful capability.
  • ADO .NET. 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-crit multi-tier applications. Chapter 16, Database, SQL and ADO .NET, introduces the capabilities of ADO .NET and the Structured Query Language (SQL) to manipulate databases.
  • Wireless Development. By some estimates, about a billion people worldwide are using mobile devices, such as wireless phones and PDAs, and this number is increasing rapidly. To simplify the creation of Web content for mobile devices, Microsoft provides the Mobile Internet Toolkit (MIT). The MIT, which is built on ASP .NET, allows wireless content to be created using Visual Studio .NET's object-oriented languages. One program can be created that will be compatible with a variety of devices and able to display different content based on the type of device (e.g., a wireless phone versus a PDA). Chapter 23, Mobile Internet Toolkit, introduces wireless Web application development.
  • Visual Studio .NET Debugger. Debuggers help programmers find and correct logic errors in program code. In Appendix D, Visual Studio .NET Debugger, we explain how to use key debugger features, such as setting "breakpoints" and "watches," stepping into and out of methods, and examining the method call stack.
  • Career Opportunities. Appendix C, Career Opportunities, introduces career services available on the Internet. We explore online career services from both the employer's and employee's perspectives. We list many Web sites where you can submit applications, search for jobs and review applicants. We also review services that build recruiting pages directly into e-businesses. One of our reviewers told us that he had used the Internet as a primary tool in a recent job search, and that this appendix would have him dramatically expand his search.
  • Unicode. As computer systems evolved worldwide, computer vendors developed numeric representations of character sets and special symbols for the local languages spoken in different countries. In some cases, different representations were developed for the same languages. Such disparate character sets hindered communication among computer systems. C# supports the Unicode Standard (maintained by a non-profit organization called the Unicode Consortium), which maintains a single character set that specifies unique numeric values for characters and special symbols in most of the world's languages. Appendix F, Unicode?, discusses the standard, overviews the Unicode Consortium Web site, and presents a C# application that displays "Welcome to Unicode!" in several languages.
  • Accessibility. Although the World Wide Web has become an important part of many people's lives, the medium currently presents many challenges to people with disabilities. Individuals with hearing and visual impairments, in particular, have difficulty accessing multimedia-rich Web sites. In an attempt to improve this situation, the World Wide Web Consortium (W3C) launched the Web Accessibility Initiative (WAI), which provides guidelines for making Web sites accessible to people with disabilities. Chapter 22, Accessibility, describes these guidelines and highlights various products and services designed to improve the Web-browsing experiences of individuals with disabilities. For example, the chapter introduces VoiceXML and CallXML—two XML-based technologies for increasing the accessibility of Web-based content for people with visual impairments.

Pedagogic Approach

C#: A Programmer's Introduction contains a rich collection of examples that have been tested on Windows 2000 and Windows XP. The book concentrates on the principles of good software engineering and stresses program clarity. We are educators who teach edge-of-the-practice topics in industry classrooms worldwide. We avoid arcane terminology and syntax specifications in favor of teaching by example. The text emphasizes good pedagogy.

We use fonts to distinguish between Visual Studio .NET's Integrated Development Environment (IDE) features (such as menu names and menu items) and other elements that appear in the IDE. Our convention is to emphasize IDE features in a sans-serif bold Helvetica font (e.g., Project menu) and to emphasize program text in a serif bold Courier font (e.g., bool x = true;).

Live-Code Teaching Approach

C#: A Programmer's Introduction is loaded with numerous Live-Code? examples. This style exemplifies the way we teach and write about programming and is the focus of our multimedia Cyber Classrooms and Web-based training courses as well. Each new concept is presented in the context of a complete, working example that is followed by one or more windows showing the program's input/output dialog. We call this method of teaching and writing the Live-Code? Approach. We use programming languages to teach programming languages. Reading the examples in the text is much like entering and running them on a computer. We suggest downloading all the examples, then running each program as you read the corresponding portion of the book. Make changes to the examples and immediately see the effects of those changes-this is a great way to improve your programming skills. Any instructions for running the examples assumes that the user is running Windows 2000 or Windows XP and is using Microsoft's Internet Information Services (IIS). Additional setup instructions for IIS and other software can be found at our Web sites along with the examples. Note: This is copyrighted material. Feel free to use it as you study, but you may not republish any portion of it in any form without explicit permission from Pearson and the authors.

Visual Studio .NET belongs to a family of products that are available for purchase and download from Microsoft. Visual Studio .NET, which includes C#, comes in four different editions-Academic, Professional, Enterprise Developer and Enterprise Architect. Visual Studio .NET Academic contains Visual Studio .NET Professional's features in addition to features designed for students and professors (e.g., an Assignment Manager that documents assignment submission, Application Publishing Tools that aid in the notification of assignments, code samples and more).

Microsoft also offers stand-alone products (Visual C# .NET Standard, Visual C++ .NET Standard and Visual Basic .NET Standard) for various .NET-languages. Each product provides an integrated development environment (similar to Visual Studio .NET) and a compiler. Visit msdn.microsoft.com/vstudio/howtobuy for descriptions and ordering information.

Objectives

Each chapter begins with objectives that inform readers of what to expect and give them an opportunity, after reading the chapter, to determine whether they have met the intended goals. The objectives serve as confidence builders and as a source of positive reinforcement.

Quotations

The chapter objectives are followed by sets of quotations. Some are humorous, some are philosophical and some offer interesting insights. We have found that readers enjoy relating the quotations to the chapter material. Many of the quotations are worth a "second look" after you read each chapter.

Outline

The chapter outline enables readers to approach the material in top-down fashion. Along with the chapter objectives, the outline helps users anticipate topics and set a comfortable and effective learning pace.

Approximately 11,550 Lines of Code in 152 Example Programs (with Program Outputs)

We present C# features in the context of complete, working C# programs. The programs range in size from just a few lines of code to substantial examples containing hundreds of lines of code. Illustrations/Figures

An abundance of charts, line drawings and program outputs is included. The discussion of control structures, for example, features carefully drawn flowcharts. Note: We do not teach flowcharting as a program-development tool, but we do use a brief, flowchart-oriented presentation to explain the precise operation of each C# control structure.

353 Programming Tips

We have included programming tips to help readers focus on important aspects of program development. We highlight hundreds of these tips in the form of Good Programming Practices, Common Programming Errors, Testing and Debugging Tips, Performance Tips, Portability Tips, Software Engineering Observations and Look-and-Feel Observations. These tips and practices represent the best the authors have gleaned from many decades of programming and teaching experience. One of our customers-a mathematics major-told us that she feels this approach is like the highlighting of axioms, theorems and corollaries in mathematics books; it provides a foundation on which to build good software.

72 Good Programming Practices

Good Programming Practices are tips that call attention to techniques that will help developers produce programs that are clearer, more understandable and more maintainable.

113 Common Programming Errors

Developers learning a language tend to make certain kinds of errors frequently. Pointing out these Common Programming Errors reduces the likelihood that readers will make the same mistakes.

38 Testing and Debugging Tips

When we first designed this "tip type," we thought the tips would contain suggestions strictly for exposing bugs and removing them from programs. In fact, many of the tips describe aspects of C# that prevent "bugs" from getting into programs in the first place, thus simplifying the testing and debugging processes.

29 Performance Tips

Developers like to "turbo charge" their programs. We have included 29 Performance Tips that highlight opportunities for improving program performance-making programs run faster or minimizing the amount of memory that they occupy.

11 Portability Tips

We include Portability Tips to help developers write portable code and to provide insights on how C# achieves its high degree of portability.

76 Software Engineering Observations

The object-oriented programming paradigm necessitates a complete rethinking of the way we build software systems. C# is an effective language for achieving good software engineering. The Software Engineering Observations highlight architectural and design issues that affect the construction of software systems, especially large-scale systems.

14 Look-and-Feel Observations

We provide Look-and-Feel Observations to highlight graphical-user-interface conventions. These observations help developers design attractive, user-friendly graphical user interfaces that conform to industry norms.

Summary

Each chapter ends with a summary that helps readers review and reinforce key concepts.

Approximately 3,485 Index Entries (with approximately 5,004 Page References)

We have included an extensive Index. This resource enables readers to search for any term or concept by keyword. The Index is especially useful to practicing programmers who use the book as a reference.

"Double Indexing" of All C# Live-Code Examples

C#: A Programmer's Introduction has 152 Live-Code examples, which we have "double indexed." For every C# source-code program in the book, we took the file name with the .cs extension, such as ShowColors.cs, and indexed it both alphabetically (in this case, under "S") and as a subindex item under "Examples." This makes it easier to find examples using particular features.

C# Multimedia Cyber Classroom and The Complete C# Training Course

We have prepared an interactive, CD-ROM-based, software version of C# How to Program, called the C# Multimedia Cyber Classroom. This resource, ideal for corporate training and college courses, is loaded with interactive e-learning features. The Cyber Classroom is packaged with the C# How to Program textbook at a discount in The Complete C# Training Course. Many Deitel Cyber Classrooms are available in CD-ROM and Web-based training formats.

The CD-ROM provides an introduction in which the authors overview the Cyber Classroom's features. The textbook's 152 Live-Code example C# programs truly "come alive" in the Cyber Classroom. If you are viewing a program and want to execute it, you simply click the lightning-bolt icon, and the program will run. You immediately will see-and hear, when working with audio-based multimedia programs-the program's output. Click the audio icon, and one of the authors will discuss the program and "walk you through" the code.

The Cyber Classroom also provides navigational aids, including extensive hyperlinking. The Cyber Classroom is browser based, so it remembers sections that you have visited recently and allows you to move forward or backward among those sections. The thousands of index entries are hyperlinked to their text occurrences. Furthermore, when you key in a term using the "find" feature, the Cyber Classroom will locate occurrences of that term throughout the text. The Table of Contents entries are "hot," so clicking a chapter name takes you immediately to that chapter.

Readers like the fact that solutions to approximately half the exercises in C# How to Program are included with the Cyber Classroom. Studying and running these extra programs is a great way for readers to enhance their learning experience.

Professionals and student users of our Cyber Classrooms tell us that they like the interactivity and that the Cyber Classroom is an effective reference due to its extensive hyperlinking and other navigational features. We received an e-mail from a reader who said he lives "in the boonies" and cannot attend a live course at a university, so the Cyber Classroom provided an ideal solution to his educational needs.

Professors tell us that their students enjoy using the Cyber Classroom and spend more time on the courses and master more of the material than in textbook-only courses.

Deitel e-Learning Initiatives

e-Books and Support for Wireless Devices

Wireless devices will play an enormous role in the future of the Internet. Given recent bandwidth enhancements and the emergence of 2.5 and 3G wireless technologies, it is projected that, within two years, more people will access the Internet through wireless devices than through desktop computers. Deitel & Associates, Inc., is committed to wireless accessibility and has recently published Wireless Internet & Mobile Business How to Program. To fulfill the needs of a wide range of customers, we are developing our content in traditional print formats and in new electronic formats, such as e-books, so that readers can access content virtually anytime, anywhere.

e-Matter

Deitel & Associates, Inc. is partnering with Prentice Hall's parent company, Pearson PLC, and its information technology Web site, InformIT.com, to launch the Deitel e-Matter series. The Deitel e-Matter series will provide professionals with an additional source of information on specific programming topics at modest prices. e-Matter consists of stand-alone sections taken from published texts, forthcoming texts or pieces written during the Deitel research-and-development process. Developing e-Matter based on pre-publication manuscripts allows us to offer significant amounts of the material well before our books are published.

Course Management Systems: WebCT, Blackboard, CourseCompass, and Premium CourseCompass

We are working with Prentice Hall to integrate our How to Program Series courseware into four Course Management Systems: WebCT, Blackboard?, CourseCompass and Premium CourseCompass. These enable instructors to create, manage and use sophisticated Web-based educational programs. Course Management Systems feature course customization (such as posting contact information, policies, syllabi, announcements, assignments, grades, performance evaluations and progress tracking), class and student management tools, a grade book, reporting tools, communication tools (such as chat rooms), a whiteboard, document sharing, bulletin boards and more. Instructors can use these products to communicate with their students, create online quizzes and exams from questions directly linked to the text and efficiently grade and track test results.

The Deitel Developer Series

Deitel & Associates, Inc., is making a major commitment to .NET programming through the launch of our Deitel? Developer Series. C#: A Programmer's Introduction, C# for Experienced Programmers, Visual Basic .NET for Experienced Programmers and Visual C++ .NET for Experienced Programmers are the first .NET books in this new series. These will be followed by several advanced books, beginning with ASP .NET with Visual Basic .NET for Experienced Programmers and ASP .NET with C# for Experienced Programmers.

The Deitel Developer Series is divided into three subseries. The A Technical Introduction subseries provides IT managers and developers with detailed overviews of emerging technologies. The A Programmer's Introduction subseries is designed to teach the fundamentals of new languages and software technologies to developers from the ground up. These books discuss programming fundamentals, followed by brief introductions to more sophisticated topics. Finally, the For Experienced Programmers subseries is designed for seasoned developers seeking to learn new programming languages and technologies without the encumbrance of introductory material. The books in this subseries move quickly to in-depth coverage of the intermediate features of the programming languages and software technologies being covered.

ASP .NET with C# for Experienced Programmers

Our forthcoming publication ASP .NET with C# for Experienced Programmers (available in 2003) is geared toward experienced .NET developers. This new book will cover enterprise-level Web-programming topics, including: Creating multi-tier, database intensive ASP .NET applications using ADO .NET and XML; constructing custom Web controls and developing Web services. Before reading this book you should be familiar with C# at the level of either C# How to Program or C# for Experienced Programmers.

Feedback

We would sincerely appreciate your comments, criticisms, corrections and suggestions for improving the book. Please address all correspondence to:

deitel@deitel.com

We will respond promptly.

Well, that's it for now. Welcome to the exciting world of C# programming. We hope you enjoy this introductory look at Microsoft's premier .NET language. Good luck!

Dr. Harvey M. Deitel
Paul J. Deitel
Jeff Listfield
Tem R. Nieto
Cheryl H. Yaeger
Marina Zlatkina

Read More Show Less

Table of Contents

Illustrations
Preface
1 Introduction to .NET and C# 1
2 Introduction to the Visual Studio .NET IDE 21
3 Introduction to C# Programming 43
4 Control Structures: Part 1 71
5 Control Structures: Part 2 111
6 Methods 146
7 Arrays 196
8 Object-Based Programming 236
9 Object-Oriented Programming: Inheritance 292
10 Exception Handling 329
11 Graphical User Interface Concepts 361
12 Multithreading 407
13 Strings and Characters 417
14 Graphics 455
15 Files and Streams 476
16 Database, SQL and ADO .NET 505
17 ASP .NET, Web Forms and Web Controls 538
18 Extensible Markup Language (XML) 557
19 ASP .NET and Web Services 572
20 Networking: Streams-Based Sockets 595
21 FCL Collections 610
22 Accessibility 633
23 Mobile Internet Toolkit 689
A Operator Precedence Chart 708
B Number Systems 710
C Career Opportunities 721
D Visual Studio .NET Debugger 741
E ASCII Character Set 759
F Unicode 760
G Introduction to HyperText Markup Language 4: Part 1 771
H Introduction to HyperText Markup Language 4: Part 2 791
I HTML Special Characters 821
J HTML Colors 822
K Crystal Reports for Visual Studio .NET 825
Index 831
Read More Show Less

Preface

Preface

Live in fragments no longer. Only connect.

—Edward Morgan Forster

We wove a web in childhood,
A web of sunny air.

—Charlotte Bronte

Welcome to C# and the world of Windows, Internet and World-Wide-Web programming with Visual Studio .NET and the .NET platform! This book is the first in the new Deitel Developer Series, which presents leading-edge computing technologies to software developers and IT professionals.

C# (pronounced "C-sharp") was developed by Microsoft expressly for its .NET platform. C# provides the features that are most important to programmers, such as object-oriented programming, graphics, graphical-user-interface (GUI) components, exception handling, multithreading, multimedia (audio, images, animation and video), file processing, prepackaged data structures, database processing, Internet and World-Wide-Web-based multi-tier application development, networking, Web services and distributed computing. The language is appropriate for implementing Internet- and World-Wide-Web-based applications that integrate seamlessly with Windows-based applications.

The .NET platform offers powerful capabilities for software development and deployment, including language and platform independence. For example, developers writing code in any (or several) of the .NET languages (such as C#, Visual Basic .NET and Visual C++ .NET) can contribute components to the same software product. In addition to providing language independence, .NET extends program portability by enabling .NET applications to reside on, and communicate across,multiple platforms. This facilitates the creation and use of Web services, which are applications that expose functionality to clients via the Internet.

The .NET platform enables Web-based applications to be distributed to consumer-electronic devices, such as wireless phones and personal digital assistants (PDAs), as well as to desktop computers. The capabilities that Microsoft has incorporated into the .NET platform increase programmer productivity and decrease development time.

Who Should Read This Book

Deitel & Associates, Inc. has several C# publications, intended for various audiences. We provide information on www.deitel.com, here and inside this book's back cover to help you determine which publication is best for you.

Our first C# book, C# How to Program, was published as part of our How to Program Series, for college and university students. It provides a comprehensive treatment of C# and includes learning aids and extensive ancillary support. C# How to Program assumes that the reader has little or no programming experience. Early chapters focus on fundamental programming principles. The book builds on this to create increasingly complex and sophisticated programs that demonstrate how to use C# to create graphical user interfaces, networking applications, multithreaded applications, Web-based applications and more. We encourage professors and professionals to consider the C# Complete Training Course. This package includes C# How to Program as well as the C# Multimedia Cyber Classroom, an interactive multimedia CD-ROM that provides extensive e-Learning features. The C# Complete Training Course and C# Multimedia Cyber Classroom are discussed in detail later in this Preface.

This book, C#: A Programmer's Introduction, is part of the new Deitel Developer Series, intended for professional software developers-from novices through experienced programmers. C#: A Programmer's Introduction is a part of the A Programmer's Introduction subseries, which is designed for programmers with little (or no) programming experience. The book begins with C# programming fundamentals. The core of C#: A Programmer's Introduction emphasizes achieving program clarity through the proven techniques of structured programming, object-based programming, object-oriented programming (OOP) and event-driven programming. The book provides a rigorous introduction to programming principles in general and to C# fundamentals, in particular. It continues with brief introductions to upper-level topics such as ASP .NET, ADO .NET, and Web services. Unlike the How to Program Series books, the Deitel Developer Series books do not include the extensive pedagogic features and ancillary support materials required for academic courses.

Our third C# publication, C# for Experienced Programmers, is also part of the Deitel Developer Series. This publication is a part of the For Experienced Programmers subseries, designed for the experienced software developer who wants a deep treatment of a new technology with minimal, if any, introductory material. C# for Experienced Programmers delves deeply into the more sophisticated topics that are introduced briefly in C#: A Programmer's Introduction. There is considerable overlap between these books.

A fourth publication, ASP .NET with C# for Experienced Programmers, is forthcoming. This book was originally titled Advanced C# for Experienced Programmers.

Each of our C# books presents many complete, working C# programs and depicts their inputs and outputs in actual screen shots of running programs. This is our signature Live-Code approach—we present all concepts in the context of complete working programs. Each book's source code is available free for download at www.deitel.com.

Please examine both the Deitel Developer Series professional books and the How to Program Series textbooks to determine which best suits your needs. C#: A Programmer's Introduction and C# for Experienced Programmers are both derived from C# How to Program. Depending on your particular needs, you should purchase either one or both of these Deitel Developer Series books, or C# How to Program.

The C# books in the Deitel Developer Series were written after the first edition of C# How to Program. We added to each of these Deitel Developer Series books a chapter on the new Microsoft Mobile Internet Toolkit for our readers who wish to develop wireless Internet applications for cell phones, pagers and PDAs. This material will be added to the second edition of C# How to Program.

For a detailed listing of Deitel products and services, please see the "advertorial" pages at the back of this book and visit www.deitel.com. Readers may also want to register for our new Deitel Buzz Online e-mail newsletter (www.deitel.net/newsletter/subscribe.html), which provides information about our publications, company announcements, links to informative technical articles, programming tips, teaching tips, challenges and anecdotes.

As you proceed, if you would like to communicate with us, please send an e-mail to deitel@deitel.com—we always respond promptly. Please check our Web sites, www.deitel.com, www.prenhall.com/deitel and www.InformIT.com/deitel for frequent updates, errata, FAQs, etc. When sending an e-mail, please include the book's title and edition number. We sincerely hope that you enjoy learning C# with our publications.

Features of C#: A Programmer's Introduction

This edition contains many features, including:

  • Syntax Highlighting. This book uses five-way syntax highlighting to emphasize C# programming elements in a manner similar to that of Visual Studio .NET. Our syntax-highlighting conventions are as follows:
    • comments
    • keywords
    • literal values
    • errors and ASP .NET directives
    • text, class, method and variable names
  • "Code Washing." This is our term for the process we use to format the book's programs so that they have a carefully commented, open layout. The code is grouped into small, well-documented pieces. This greatly improves code readability-an especially important goal for us, considering that this book contains approximately 11,550 lines of code in 152 complete Live-Code programs.
  • Web Forms, Web Controls, and ASP .NET. 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 respon enable interactive Web pages, server-side programs process information users input into HTML forms. ASP .NET is a significant departure from ASP 3.0, allowing developers to program Web-based applications using .NET's powerful object-oriented languages such as C# and Visual Basic .NET, rather than using only scripting languages. ASP .NET also 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 17, ASP .NET, Web Forms and Web Controls, introduces these powerful technologies.
  • Web Services and ASP .NET. 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 19, ASP .NET and Web Services, we present a Web service that allows users to manipulate "huge integers"-integers too large to be contained in C#'s built-in data types. In this example, a user enters two huge integers and presses buttons to invoke Web services that add, subtract and compare the two integers. We also present information related to Web services in Appendix K, Crystal Reports? for Visual Studio .NET, which discusses a popular reporting program for database-intensive applications. Cry Reports, which is integrated into Visual Studio .NET, provides the ability to expose a report as a Web service. The appendix provides introductory information and directs readers to a walkthrough of this process on the Crystal Decisions Web site, www.crystaldecisions.com/netzone
  • Object-Oriented Programming. 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 8, Object-Based Programming, introduces how to create classes and objects. These concepts are extended in Chapter 9, Object-Oriented Programming: Inheritance, which discusses how programmers can create powerful new classes quickly by "absorbing" the capabilities of existing classes.
  • XML. Use of Extensible Markup Language (XML) is exploding in the software-development industry, in the e-business and e-commerce communities, and is pervasive throughout the .NET platform. Because XML is a platform-independent technology for describing data and for creating markup languages, XML's data portability integrates well with C#-based portable applications and services. Chapter 18, Extensible Markup Language (XML), introduces XML. In this chapter, we present XML markup and discuss the Document Object Model (DOM?), which is used to manipulate XML documents programmatically.
  • Multithreading. Computers enable programmers to perform many tasks in parallel (i.e., concurrently), such as printing documents, downloading files from a network and surfing the Web. Multithreading is the technology through which programmers can develop applications th concurrent tasks. Historically, a computer has contained a single, expensive processor, which its operating system would share among all applications. Today, processors are becoming increasingly inexpensive, making it possible to build affordable computers with many processors working in parallel-such computers are called multiprocessors. Multithreading is effective on both single-processor and multiprocessor systems. .NET's multithreading capabilities make the platform and its related technologies better prepared to handle today's sophisticated multimedia-intensive, database-intensive, network-based, multiprocessor-based, distributed applications. Chapter 12, Multithreading, introduces this powerful capability.
  • ADO .NET. 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-tier applications. Chapter 16, Database, SQL and ADO .NET, introduces the capabilities of ADO .NET and the Structured Query Language (SQL) to manipulate databases.
  • Wireless Development. By some estimates, about a billion people worldwide are using mobile devices, such as wireless phones and PDAs, and this number is increasing rapidly. To simplify the creation of Web content for mobile devices, Microsoft provides the Mobile Internet Toolkit (MIT). The MIT, which is built on ASP .NET, allows wireless content to be created using Visual Studio .NET's object-oriented languages. One program can be created that will be compatible with a variety of devices and able to display different content based on the type of device (e.g., a wireless phone versus a PDA). Chapter 23, Mobile Internet Toolkit, introduces wireless Web application development.
  • Visual Studio .NET Debugger. Debuggers help programmers find and correct logic errors in program code. In Appendix D, Visual Studio .NET Debugger, we explain how to use key debugger features, such as setting "breakpoints" and "watches," stepping into and out of methods, and examining the method call stack.
  • Career Opportunities. Appendix C, Career Opportunities, introduces career services available on the Internet. We explore online career services from both the employer's and employee's perspectives. We list many Web sites where you can submit applications, search for jobs and review applicants. We also review services that build recruiting pages directly into e-businesses. One of our reviewers told us that he had used the Internet as a primary tool in a recent job search, and that this appendix would have helped him dramatically expand his search.
  • Unicode. As computer systems evolved worldwide, computer vendors developed numeric representations of character sets and special symbols for the local languages spoken in different countries. In some cases, different representations were developed for the same languages. Such disparate character sets hindered communication among computer systems. C# supports the Unicode Standard (maintained by a non-profit organization called the Unicode Consortium), which single character set that specifies unique numeric values for characters and special symbols in most of the world's languages. Appendix F, Unicode?, discusses the standard, overviews the Unicode Consortium Web site, www.unicode.org and presents a C# application that displays "Welcome to Unicode!" in several languages.
  • Accessibility. Although the World Wide Web has become an important part of many people's lives, the medium currently presents many challenges to people with disabilities. Individuals with hearing and visual impairments, in particular, have difficulty accessing multimedia-rich Web sites. In an attempt to improve this situation, the World Wide Web Consortium (W3C) launched the Web Accessibility Initiative (WAI), which provides guidelines for making Web sites accessible to people with disabilities. Chapter 22, Accessibility, describes these guidelines and highlights various products and services designed to improve the Web-browsing experiences of individuals with disabilities. For example, the chapter introduces VoiceXML and CallXML—two XML-based technologies for increasing the accessibility of Web-based content for people with visual impairments.

Pedagogic Approach

C#: A Programmer's Introduction contains a rich collection of examples that have been tested on Windows 2000 and Windows XP. The book concentrates on the principles of good software engineering and stresses program clarity. We are educators who teach edge-of-the-practice topics in industry classrooms worldwide. We avoid arcane terminology and syntax specifications in favor of teaching by example. The text emphasizes good pedagogy.

We use fonts to distinguish between Visual Studio .NET's Integrated Development Environment (IDE) features (such as menu names and menu items) and other elements that appear in the IDE. Our convention is to emphasize IDE features in a sans-serif bold Helvetica font (e.g., Project menu) and to emphasize program text in a serif bold Courier font (e.g., bool x = true;).

Live-Code Teaching Approach

C#: A Programmer's Introduction is loaded with numerous Live-Code? examples. This style exemplifies the way we teach and write about programming and is the focus of our multimedia Cyber Classrooms and Web-based training courses as well. Each new concept is presented in the context of a complete, working example that is followed by one or more windows showing the program's input/output dialog. We call this method of teaching and writing the Live-Code? Approach. We use programming languages to teach programming languages. Reading the examples in the text is much like entering and running them on a computer. Readers have the option of downloading all of the book's code examples from www.deitel.com, under the Downloads/Resources link. Other links provide errata and answers to frequently asked questions.

World Wide Web Access

All of the source code for the program examples in C#: A Programmer's Introduction (and our other publications) is available on the Internet as downloads from the following Web sites:

www.deitel.comwww.prenhall.com/deitel

Registration is quick and easy and these downloads are free. We suggest downloading all the examples, then running each program as you read the corresponding portion of the book. Make changes to the examples and immediately see the effects of those changes-this is a great way to improve your programming skills. Any instructions for running the examples assumes that the user is running Windows 2000 or Windows XP and is using Microsoft's Internet Information Services (IIS). Additional setup instructions for IIS and other software can be found at our Web sites along with the examples. Note: This is copyrighted material. Feel free to use it as you study, but you may not republish any portion of it in any form without explicit permission from Pearson and the authors.

Visual Studio .NET belongs to a family of products that are available for purchase and download from Microsoft. Visual Studio .NET, which includes C#, comes in four different editions-Academic, Professional, Enterprise Developer and Enterprise Architect. Visual Studio .NET Academic contains Visual Studio .NET Professional's features in addition to features designed for students and professors (e.g., an Assignment Manager that documents assignment submission, Application Publishing Tools that aid in the notification of assignments, code samples and more).

Microsoft also offers stand-alone products (Visual C# .NET Standard, Visual C++ .NET Standard and Visual Basic .NET Standard) for various .NET-languages. Each product provides an integrated development environment (similar to Visual Studio .NET) and a compiler. Visit msdn.microsoft.com/vstudio/howtobuy for descriptions and ordering information.

Objectives

Each chapter begins with objectives that inform readers of what to expect and give them an opportunity, after reading the chapter, to determine whether they have met the intended goals. The objectives serve as confidence builders and as a source of positive reinforcement.

Quotations

The chapter objectives are followed by sets of quotations. Some are humorous, some are philosophical and some offer interesting insights. We have found that readers enjoy relating the quotations to the chapter material. Many of the quotations are worth a "second look" after you read each chapter.

Outline

The chapter outline enables readers to approach the material in top-down fashion. Along with the chapter objectives, the outline helps users anticipate topics and set a comfortable and effective learning pace.

Approximately 11,550 Lines of Code in 152 Example Programs (with Program Outputs)

We present C# features in the context of complete, working C# programs. The programs range in size from just a few lines of code to substantial examples containing hundreds of lines of code. All examples are available as downloads from our Web site, www.deitel.com.

456 Illustrations/Figures

An abundance of charts, line drawings and program outputs is included. The discussion of control structures, for example, features carefully drawn flowcharts. Note: We do not teach flowcharting as a program-development tool, but we do use a brief, flowchart-oriented presentation to explain the precise operation of each C# control structure.

353 Programming Tips

We have included programming tips to help readers focus on important aspects of program development. We highlight hundreds of these tips in the form of Good Programming Practices, Common Programming Errors, Testing and Debugging Tips, Performance Tips, Portability Tips, Software Engineering Observations and Look-and-Feel Observations. These tips and practices represent the best the authors have gleaned from many decades of programming and teaching experience. One of our customers-a mathematics major-told us that she feels this approach is like the highlighting of axioms, theorems and corollaries in mathematics books; it provides a foundation on which to build good software.

72 Good Programming Practices

Good Programming Practices are tips that call attention to techniques that will help developers produce programs that are clearer, more understandable and more maintainable.

113 Common Programming Errors

Developers learning a language tend to make certain kinds of errors frequently. Pointing out these Common Programming Errors reduces the likelihood that readers will make the same mistakes.

38 Testing and Debugging Tips

When we first designed this "tip type," we thought the tips would contain suggestions strictly for exposing bugs and removing them from programs. In fact, many of the tips describe aspects of C# that prevent "bugs" from getting into programs in the first place, thus simplifying the testing and debugging processes.

29 Performance Tips

Developers like to "turbo charge" their programs. We have included 29 Performance Tips that highlight opportunities for improving program performance-making programs run faster or minimizing the amount of memory that they occupy.

11 Portability Tips

We include Portability Tips to help developers write portable code and to provide insights on how C# achieves its high degree of portability.

76 Software Engineering Observations

The object-oriented programming paradigm necessitates a complete rethinking of the way we build software systems. C# is an effective language for achieving good software engineering. The Software Engineering Observations highlight architectural and design issues that affect the construction of software systems, especially large-scale systems.

14 Look-and-Feel Observations

We provide Look-and-Feel Observations to highlight graphical-user-interface conventions. These observations help developers design attractive, user-friendly graphical user interfaces that conform to industry norms.

Summary

Each chapter ends with a summary that helps readers review and reinforce key concepts.

Approximately 3,485 Index Entries (with approximately 5,004 Page References)

We have included an extensive Index. This resource enables readers to search for any term or concept by keyword. The Index is especially useful to practicing programmers who use the book as a reference.

"Double Indexing" of All C# Live-Code Examples

C#: A Programmer's Introduction has 152 Live-Code examples, which we have "double indexed." For every C# source-code program in the book, we took the file name with the .cs extension, such as ShowColors.cs, and indexed it both alphabetically (in this case, under "S") and as a subindex item under "Examples." This makes it easier to find examples using particular features.

C# Multimedia Cyber Classroom and The Complete C# Training Course

We have prepared an interactive, CD-ROM-based, software version of C# How to Program, called the C# Multimedia Cyber Classroom. This resource, ideal for corporate training and college courses, is loaded with interactive e-learning features. The Cyber Classroom is packaged with the C# How to Program textbook at a discount in The Complete C# Training Course. If you already have that book and would like to purchase the C# Multimedia Cyber Classroom separately, please visit www.InformIT.com/cyberclassrooms. The ISBN number for the C# Multimedia Cyber Classroom is 0-13-064587-7. Many Deitel Cyber Classrooms are available in CD-ROM and Web-based training formats.

The CD-ROM provides an introduction in which the authors overview the Cyber Classroom's features. The textbook's 152 Live-Code example C# programs truly "come alive" in the Cyber Classroom. If you are viewing a program and want to execute it, you simply click the lightning-bolt icon, and the program will run. You immediately will see-and hear, when working with audio-based multimedia programs-the program's output. Click the audio icon, and one of the authors will discuss the program and "walk you through" the code.

The Cyber Classroom also provides navigational aids, including extensive hyperlinking. The Cyber Classroom is browser based, so it remembers sections that you have visited recently and allows you to move forward or backward among those sections. The thousands of index entries are hyperlinked to their text occurrences. Furthermore, when you key in a term using the "find" feature, the Cyber Classroom will locate occurrences of that term throughout the text. The Table of Contents entries are "hot," so clicking a chapter name takes you immediately to that chapter.

Readers like the fact that solutions to approximately half the exercises in C# How to Program are included with the Cyber Classroom. Studying and running these extra programs is a great way for readers to enhance their learning experience.

Professionals and student users of our Cyber Classrooms tell us that they like the interactivity and that the Cyber Classroom is an effective reference due to its extensive hyperlinking and other navigational features. We received an e-mail from a reader who said he lives "in the boonies" and cannot attend a live course at a university, so the Cyber Classroom provided an ideal solution to his educational needs.

Professors tell us that their students enjoy using the Cyber Classroom and spend more time on the courses and master more of the material than in textbook-only courses. For a complete list of the available and forthcoming Cyber Classrooms and Complete Training Courses, see the Deitel? Series page at the beginning of this book, the product listing and ordering information at the end of this book or visit www.deitel.com, www.prenhall.com/deitel or www.InformIT.com/deitel.

Deitel e-Learning Initiatives

e-Books and Support for Wireless Devices

Wireless devices will play an enormous role in the future of the Internet. Given recent bandwidth enhancements and the emergence of 2.5 and 3G wireless technologies, it is projected that, within two years, more people will access the Internet through wireless devices than through desktop computers. Deitel & Associates, Inc., is committed to wireless accessibility and has recently published Wireless Internet & Mobile Business How to Program. To fulfill the needs of a wide range of customers, we are developing our content in traditional print formats and in new electronic formats, such as e-books, so that readers can access content virtually anytime, anywhere. Visit www.deitel.com for periodic updates on all Deitel technology initiatives.

e-Matter

Deitel & Associates, Inc. is partnering with Prentice Hall's parent company, Pearson PLC, and its information technology Web site, InformIT.com, to launch the Deitel e-Matter series at www.InformIT.com/deitel in Fall 2002. The Deitel e-Matter series will provide professionals with an additional source of information on specific programming topics at modest prices. e-Matter consists of stand-alone sections taken from published texts, forthcoming texts or pieces written during the Deitel research-and-development process. Developing e-Matter based on pre-publication manuscripts allows us to offer significant amounts of the material well before our books are published.

Course Management Systems: WebCT, Blackboard, CourseCompass, and Premium CourseCompass

We are working with Prentice Hall to integrate our How to Program Series courseware into four Course Management Systems: WebCT, Blackboard?, CourseCompass and Premium CourseCompass. These enable instructors to create, manage and use sophisticated Web-based educational programs. Course Management Systems feature course customization (such as posting contact information, policies, syllabi, announcements, assignments, grades, performance evaluations and progress tracking), class and student management tools, a grade book, reporting tools, communication tools (such as chat rooms), a whiteboard, document sharing, bulletin boards and more. Instructors can use these products to communicate with their students, create online quizzes and exams from questions directly linked to the text and efficiently grade and track test results. For more information about these upcoming products, visit www.prenhall.com/cms. For demonstrations of existing WebCT, Blackboard and CourseCompass course materials, visit cms.prenhall.com/webct, cms.prenhall.com/blackboard and cms.prenhall.com/coursecompass, respectively.

Deitel and InformIT Newsletters

Deitel Column in the InformIT Newsletters

Deitel & Associates, Inc., contributes articles to the free InformIT weekly e-mail newsletter, subscribed to by more than 750,000 IT professionals worldwide. For registration information, visit www.InformIT.com and click the MyInformIT tab.

Deitel Buzz Online Newsletter

Our own free newsletter, the Deitel Buzz Online, includes commentary on industry trends and developments, links to articles and resources from our published books and upcoming publications, product-release schedules, challenges, anecdotes and more. For registration information, visit www.deitel.com/newsletter/subscribe.html

The Deitel Developer Series

Deitel & Associates, Inc., is making a major commitment to .NET programming through the launch of our Deitel? Developer Series. C#: A Programmer's Introduction, C# for Experienced Programmers, Visual Basic .NET for Experienced Programmers and Visual C++ .NET for Experienced Programmers are the first .NET books in this new series. These will be followed by several advanced books, beginning with ASP .NET with Visual Basic .NET for Experienced Programmers and ASP .NET with C# for Experienced Programmers.

The Deitel Developer Series is divided into three subseries. The A Technical Introduction subseries provides IT managers and developers with detailed overviews of emerging technologies. The A Programmer's Introduction subseries is designed to teach the fundamentals of new languages and software technologies to developers from the ground up. These books discuss programming fundamentals, followed by brief introductions to more sophisticated topics. Finally, the For Experienced Programmers subseries is designed for seasoned developers seeking to learn new programming languages and technologies without the encumbrance of introductory material. The books in this subseries move quickly to in-depth coverage of the intermediate features of the programming languages and software technologies being covered.

ASP .NET with C# for Experienced Programmers

Our forthcoming publication ASP .NET with C# for Experienced Programmers (available in 2003) is geared toward experienced .NET developers. This new book will cover enterprise-level Web-programming topics, including: Creating multi-tier, database intensive ASP .NET applications using ADO .NET and XML; constructing custom Web controls and developing Web services. This book also will include configuration and security topics. Updates on the status of this publication are posted at www.deitel.com. Before reading this book you should be familiar with C# at the level of either C# How to Program or C# for Experienced Programmers.

Feedback

We would sincerely appreciate your comments, criticisms, corrections and suggestions for improving the book. Please address all correspondence to:

deitel@deitel.com

We will respond promptly.

Well, that's it for now. Welcome to the exciting world of C# programming. We hope you enjoy this introductory look at Microsoft's premier .NET language. Good luck!

Dr. Harvey M. Deitel
Paul J. Deitel
Jeff Listfield
Tem R. Nieto
Cheryl H. Yaeger
Marina Zlatkina

Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted August 29, 2002

    Comprehensive, In-Depth, Clear and Example rich Book

    As I am also one of the reviewers of this book, I perceptibly noticed how much care the Deitel people take for their book to provide a comprehensible book. Let us see what¿s special about the Deitel Series and this book: The Live-Code Approach ¿ All the Deitel¿s Developer series books provide you the entire concept through Complete set of working programs and portray their inputs and outputs in actual screen shots of running programs. This book provides you 11,550 lines of codes in 152 complete Live-code programs and gives you a clear picture about the concepts. Another one highlighting point in Deitel series is Syntax Highlighting. This book uses five different style of syntax prominence. Another one issue, I like very much in the Deitel Book series is the Programming Tips they provide. Since the Programming techniques help the reader to build code that is manageable, reusable and optimized for performance. In this book they provide 353 Programming Tips! As I already mentioned, this book is intended for programmers with little programming experience. This book starts with C# and .NET fundamentals. In the early chapters it speaks about the Object-oriented programming in C# and covers all the topics from the scratch. Then it covers the Graphical user interface concepts, Multithreading, Files and streams and Exceptional Handling in depth manner with lot of programming examples. This book also endow with all the information about the ADO.NET, XML and ASP.NET along with the Web services. This book makes clear how to create mobile web applications using Microsoft Mobile Internet Toolkit. Along with a wide spread Appendix, it also gives explanation about Networking and Accessibility-issues. 'Comprehensive, In-Depth, Clear, Example rich Book and provide all the practical insight for the Programmer's to dive deep into C#'

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)