May 2013
Beginner
696 pages
47h 10m
English
Nothing can have value without being an object of utility.
—Karl Marx
Your public servants serve you right.
—Adlai E. Stevenson
Objectives
In this chapter you’ll:
• Declare a class and use it to create an object.
• Implement a class’s behaviors as methods.
• Implement a class’s attributes as instance variables and properties.
• Use a constructor to ensure that an object’s attributes are initialized.
• Use properties to ensure that only valid data is placed in attributes.
• Construct new classes that reuse existing classes via composition.
• Implement classwide information with Shared class variables.
• Use the Object Browser to discover the capabilities of the classes in the .NET Framework ...
Read now
Unlock full access