CHAPTER 1 Writing Your First Object-Oriented Program \r\n\r\nReading Books: Your First Object-Oriented Program \r\nUsing the Class View \r\nCreating the ReadBooks Program \r\n\r\nCHAPTER 2 Creating Class Instances with Constructors \r\n\r\nConstructors \r\nReading Books: Another Implementation \r\nReference and Value Types \r\nUnderstanding Array Declarations \r\n\r\nCHAPTER 3 Creating Fields and Properties \r\n\r\nDesign Considerations for Properties \r\nCode Analysis: A Host of Properties \r\nCode Analysis: Using Indexers and Default Properties \r\n\r\nCHAPTER 4 Working with Methods \r\n\r\nA Deck of Cards \r\n\r\nCHAPTER 5 Using Inheritance to Create Specialized Classes \r\n\r\nInheritance: An Overview \r\nBankAccount: A Simple Example \r\nInherit from a Control: The RoundButton Class \r\n\r\nCHAPTER 6 Designing Base Classes as Abstract Classes \r\n\r\nAbstract Classes \r\nThe BankAccount Class Revisited \r\nA Typed Collection Class \r\n\r\nCHAPTER 7 Responding to Changes with Events and Exceptions \r\n\r\nFire on the Tracks! An Event-Driven Application \r\nSetting Up Event Methods Without Using the Designer \r\nExceptions-When Things Go Wrong \r\n\r\nCHAPTER 8 Putting It All Together with Components \r\n\r\nThe Memory Game \r\nThe Games Class Library \r\nThe Memory Game Application \r\n\r\nCHAPTER 9 Providing Services Using Interfaces \r\n\r\nAn IMoveable Interface \r\n.NET Framework Interfaces \r\nTwo Other Uses of Interfaces \r\n\r\nCHAPTER 10 Using Classes Interchangeably Through Polymorphism \r\n\r\nPattern Maker \r\nPattern Maker Design \r\nThe Base Classes \r\nThe Derived Classes \r\nThe User Interface \r\n\r\nCHAPTER 11 Using Shared and Static Members \r\n\r\nShared and Static Members \r\nA More Interesting Point \r\nA More Efficient Card \r\nThe Singleton Pattern \r\nDesign Considerations \r\n\r\nCHAPTER 12 Overloading Operators with Visual C# \r\n\r\nA Short Lesson on Vectors \r\nVector Algebra Application \r\n\r\nCHAPTER 13 Saving Instance Data \r\n\r\nSerialization \r\nDataSets \r\n\r\nCHAPTER 14 Reducing Complexity by Design \r\n\r\nThe .NET Design Guidelines \r\nRefactoring \r\nDesign Patterns \r\n\r\nAPPENDIX \r\n\r\nAdditional Resources \r\n\r\nBooks \r\n\r\nOrganizations \r\n\r\nINDEX
无封面