O'Reilly logo

Visual C# 2010: How to Program, Fourth Edition by Harvey Deitel, Paul 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 4. Introduction to Classes, Objects, Methods and strings

 

Nothing can have value without being an object of utility.

 
 --Karl Marx
 

Your public servants serve you right.

 
 --Adlai E. Stevenson
 

You’ll see something new. Two things. And I call them Thing One and Thing Two.

 
 --Dr. Theodor Seuss Geisel
<feature> <supertitle>Objectives</supertitle>

In this chapter you’ll learn:

<objective>

How to declare a class and use it to create an object.

</objective>
<objective>

How to implement a class’s behaviors as methods.

</objective>
<objective>

How to implement a class’s attributes as instance variables and properties.

</objective>
<objective>

How to call an object’s methods to make them perform their tasks.

</objective>
<objective>

What instance variables ...

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