O'Reilly logo

C# 2008 For Programmers Third Edition Deitel® Developer Series by Harvey M. Deitel, Paul J. Deitel

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. Classes and Objects: A Deeper Look

 

Instead of this absurd division into sexes, they ought to class people as static and dynamic.

 
 --Evelyn Waugh
 

Is it a world to hide virtues in?

 
 --William Shakespeare
 

But what, to serve our private ends, Forbids the cheating of our friends?

 
 --Charles Churchill
 

This above all: to thine own self be true.

 
 --William Shakespeare
 

Don’t be “consistent,” but be simply true.

 
 --Oliver WendellHolmes, Jr.
<feature><title>Objectives</title>

In this chapter you’ll learn:

<objective>

Encapsulation and data hiding.

</objective>
<objective>

The concepts of data abstraction and abstract data types (ADTs).

</objective>
<objective>

To use keyword this.

</objective>
<objective>

To use indexers to access members of a class. ...

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