Hour 16. Designing Objects Using Classes

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 design. In this hour, you'll learn how to create your own objects by using classes (in contrast to using static methods). You'll learn how to define the template for an object and how to create your own custom properties and methods.

The highlights of this hour include the following:

  • Encapsulating data and code using classes

  • Comparing instance member classes with static member classes

  • Constructors and destructors ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with O’Reilly online learning.

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