O'Reilly logo

Visual C#® 2012: How to Program, Fifth 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

Summary

Section 4.2 Classes, Objects, Methods, Properties and Instance Variables

• Methods perform tasks. Each method describes the mechanisms that actually perform its tasks. The method hides from its user the complex tasks that it performs.

• The app unit that houses a method is called a class. A class may contain one or more methods that are designed to perform the class’s tasks.

• A method can perform a task and may return a result.

• An instance of a class is called an object.

• Each message sent to an object is a method call and tells that method to perform its task.

• Each method can specify parameters that represent additional information the method requires to perform its task correctly. A method call supplies arguments for the method’s ...

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