OOP with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Step by Step(影印版)

OOP with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Step by Step(影印版)
作 者: Robin A. Reynolds-Haertle
出版社: Microsoft Press
丛编项: Microsoft.net
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: VB.NET
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《OOP with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Step by Step(影印版)》作者简介

内容简介

Embark upon object-oriented programming in the .NET era with this straightforward, accessible guide. Progress at your own pace from the basics through advanced OOP concepts with the help of clear instructions, candid reference notes and design tips, and engaging programming examples. Learn how to take full advantage of the objects provided by Visual Basic .NET and Visual C# .NET-or how to create and implement your own objects. In less time than you thought possible, you'll absorb object-oriented design concepts and terminology and understand how to construct elegant object-oriented programs with two of the most powerful development languages.

图书目录

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