s
menu
menu
Login  |  Register  |  Media Kit  |  Press  |  Site Map  |  Contact Us  Increase font-sizeDecrease font-sizeRestore default font-sizes



 
AddThis Social Bookmark Button
Preface (Page 3): C# For Programmers, 2/e
Early Classes and Objects Approach
We still introduce the 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 our new Chapter 4. Chapters 5-8 have been carefully rewritten from an "early classes and objects approach."
Carefully Tuned Treatment of Object-Oriented Programming in Chapters 9-11
We performed a high-precision upgrade of C# for Programmers, 2/e. This edition is clearer and more accessible-especially 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.
Case Studies
We include many case studies, some spanning multiple sections and chapters:
  • The GradeBook class in Chapters 4, 5, 6 and 8.
  • The optional, OOD/UML ATM system in the Software Engineering sections of Chapters 1, 3-9 and 11.
  • The Time class in several sections of Chapter 9.
  • The Employee payroll application in Chapters 10 and 11.
  • The GuestBook ASP.NET application in Chapter 21.
  • The secure book database ASP.NET application in Chapter 21.
  • The airline reservation Web service in Chapter 22.
  • Integrated GradeBook Case Study
To reinforce our early classes presentation, we present an integrated case study using classes and objects in Chapters 4-6 and 8. We incrementally build a GradeBook class that represents an instructor's grade book and performs various calculations based on a set of student grades-finding the average, finding the maximum and minimum, and printing a bar chart. Our goal is to familiarize you with the important concepts of objects and classes through a real-world example of a substantial class. We develop this class from the ground up, constructing methods from control statements and carefully developed algorithms, and adding instance variables and arrays as needed to enhance the functionality of the class.
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 comply with the UML 2.0 specification. We use UML class diagrams to visually represent classes and their inheritance relationships, and we use UML activity diagrams to demonstrate the flow of control in each of C#'s several control statements.
This Second Edition 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 leaders in the field from Rational (the creators of the UML and now a division of IBM) and the Object Management Group (responsible for maintaining and evolving the UML). In the case study, we design and fully implement the software for a simple automatic teller machine (ATM). The Software Engineering Case Study sections at the ends of Chapters 1, 3-9 and 11 present a carefully paced introduction to object-oriented design using the UML. We introduce a concise, simplified subset of the UML 2.0, then guide the reader through a first design experience intended for the novice object-oriented designer/programmer. The case study is not an exercise; rather, it is an end-to-end learning experience that concludes with a detailed walkthrough of the complete C# code. The Software Engineering Case Study sections help readers develop an object-oriented design to complement the object-oriented programming concepts they begin learning in Chapter 1 and implementing in Chapter 4. In the first of these sections at the end of Chapter 1, we introduce basic OOD concepts and terminology. In the optional Software Engineering Case Study sections at the ends of Chapters 3-6, we consider more substantial issues, as we undertake a challenging problem with the techniques of OOD. We analyze a typical requirements document that specifies a system to be built, determine the classes needed to implement that system, determine the attributes the classes need to have, determine the behaviors the classes need to exhibit and specify how the classes must interact with one another to meet the system requirements. In Appendix J, we include a complete C# implementation of the object-oriented system that we design in the earlier chapters. We employ a carefully developed, incremental object-oriented design process to produce a UML model for our ATM system. From this design, we produce a substantial working C# implementation using key programming notions, including classes, objects, encapsulation, visibility, composition, inheritance and polymorphism.

Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

 
C# For Programmers, 2/e Cover


ISBN: 0131345915
© 2006, pp. 1500

Order now at
Amazon.com
Informit.com

Download Code
Examples and
Other Premium
Content for
Registered Users

Login or Register to download this book's code examples and other premium content.

foot
Update :: October 11, 2008