Chapter 7. Creating and managing classes and objects

After completing this chapter, you will be able to:

Image Define a class containing a related set of methods and data items.

Image Control the accessibility of members by using the public and private keywords.

Image Create objects by using the new keyword to invoke a constructor.

Image Write and call your own constructors. ...

Get Microsoft Visual C# Step by Step, 8th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.