O'Reilly logo

C# 2012 for Programmers, Fifth Edition by Paul Deitel, Harvey M. Deitel, Abbey 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

4. Introduction to Classes, Objects, Methods and strings

Objectives

In this chapter you’ll:

Image Declare a class and use it to create an object.

Image Implement a class’s behaviors as methods.

Image Implement a class’s attributes as instance variables and properties.

Image Use string objects.

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

Understand the ...

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