Chapter 7. Creating and managing classes and objects
After completing this chapter, you will be able to:
Define a class containing a related set of methods and data items.
Control the accessibility of members by using the public and private keywords.
Create objects by using the new keyword to invoke a constructor.
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.