Chapter 16. Designing Objects Using Classes

<feature><title>What You’ll Learn in This Hour</title> <objective>

Encapsulating data and code using classes

</objective>
<objective>

Creating an object interface

</objective>
<objective>

Exposing object attributes as properties

</objective>
<objective>

Instantiating objects from classes

</objective>
<objective>

Binding an object reference to a variable

</objective>
<objective>

Releasing object references

</objective>
<objective>

Understanding object lifetimes

</objective>
</feature>

You learned about what makes an object an object in Hour 3, “Understanding Objects and Collections.” Since that hour, you’ve learned how to manipulate objects such as forms and controls. The real power of leveraging objects, however, comes ...

Get Sams Teach Yourself Visual C# 2008 in 24 Hours: Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.