O'Reilly logo

Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit by James Foxall

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

Chapter 16. Designing Objects Using Classes

What You’ll Learn in This Hour:

  • Encapsulating data and code using classes

  • Comparing classes to standard modules

  • Creating an object interface

  • Exposing object attributes as properties

  • Instantiating objects from classes

  • Binding an object reference to a variable

  • Understanding object lifetime

  • Releasing object references

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 comes from being able to design and implement custom objects of your own. In this hour, you’ll learn how to create your own objects by using classes. You’ll learn how to define ...

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