| 作 者: | Robin A. Reynolds-Haertle |
| 出版社: | Microsoft Press |
| 丛编项: | Microsoft.net |
| 版权说明: | 本书为公共版权或经版权方授权,请支持正版图书 |
| 标 签: | VB.NET |
| ISBN | 出版时间 | 包装 | 开本 | 页数 | 字数 |
|---|---|---|---|---|---|
| 未知 | 暂无 | 暂无 | 未知 | 0 | 暂无 |
CHAPTER 1 Writing Your First Object-Oriented Program
Reading Books: Your First Object-Oriented Program
Using the Class View
Creating the ReadBooks Program
CHAPTER 2 Creating Class Instances with Constructors
Constructors
Reading Books: Another Implementation
Reference and Value Types
Understanding Array Declarations
CHAPTER 3 Creating Fields and Properties
Design Considerations for Properties
Code Analysis: A Host of Properties
Code Analysis: Using Indexers and Default Properties
CHAPTER 4 Working with Methods
A Deck of Cards
CHAPTER 5 Using Inheritance to Create Specialized Classes
Inheritance: An Overview
BankAccount: A Simple Example
Inherit from a Control: The RoundButton Class
CHAPTER 6 Designing Base Classes as Abstract Classes
Abstract Classes
The BankAccount Class Revisited
A Typed Collection Class
CHAPTER 7 Responding to Changes with Events and Exceptions
Fire on the Tracks! An Event-Driven Application
Setting Up Event Methods Without Using the Designer
Exceptions-When Things Go Wrong
CHAPTER 8 Putting It All Together with Components
The Memory Game
The Games Class Library
The Memory Game Application
CHAPTER 9 Providing Services Using Interfaces
An IMoveable Interface
.NET Framework Interfaces
Two Other Uses of Interfaces
CHAPTER 10 Using Classes Interchangeably Through Polymorphism
Pattern Maker
Pattern Maker Design
The Base Classes
The Derived Classes
The User Interface
CHAPTER 11 Using Shared and Static Members
Shared and Static Members
A More Interesting Point
A More Efficient Card
The Singleton Pattern
Design Considerations
CHAPTER 12 Overloading Operators with Visual C#
A Short Lesson on Vectors
Vector Algebra Application
CHAPTER 13 Saving Instance Data
Serialization
DataSets
CHAPTER 14 Reducing Complexity by Design
The .NET Design Guidelines
Refactoring
Design Patterns
APPENDIX
Additional Resources
Books
Organizations
INDEX