O'Reilly logo

Start Here!™ Fundamentals of Microsoft® .NET Programming by Rod Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Object-Oriented Programming

In this chapter:

  • The benefits of classes

  • Polymorphism

  • Properties, methods, and events

  • Shared and instance members

  • Inheritance

  • Overriding and shadowing members

  • Abstraction and refinement

  • Multiple inheritance and interfaces

  • Constructors and destructors

IN A MODERN OBJECT-ORIENTED LANGUAGE, A program consists of a group of objects working together to perform a task. One object interacts with the others by reading and setting the other objects’ properties, calling the other objects’ methods, and responding to the other objects’ events.

In a well-defined program, the objects represent more-or-less intuitive entities, and their behaviors are easy to understand. For example, a Customer object would provide customer-related ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required