Chapter 3. Objects and Classes

Objects are the fundamental building blocks of an object-oriented (OO) system. Just as you learned in Chapter 2 that abstraction involves producing a model of the real world, you'll see in this chapter that objects are "mini-abstractions" of the various real-world components that comprise such a model.

In this chapter, you'll learn:

  • What a software object is made of

  • How we use classes to specify an object's data and behavior

  • How we create objects based on a class definition

  • How objects keep track of one another

Get Beginning C# 2008 Objects: From Concept to Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.