Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Loading
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 12: Object-Based Programming
Last change: February 13 2016 18:48:25.
<<PreviousNext>>

12. 4        Nested Classes

A class can contain one or more other classes, which can in turn contain yet others forming a class of nested classes. Usually, the inner classes are exposed as properties of the outer classes. This arrangement is similar to what you have seen in ADO.NET. For example, the dataset contains the datatable, which contains data rows and data columns, each in turn having its own methods and properties.
Last change: February 13 2016 18:48:26.
  1. Enumerated Constants
  2. Throwing Exceptions
  3. Implementing Events in a Class
  4. A Class with an Event: An Example
  5. Hooking Event Handlers
  • 12. 4 Nested Classes
    1. Scope of Inner Class
    2. Uses of Nested Classes
    3. Developing the Depositor Class
    4. Using the Depositor Class
    5. Additional Remarks
    6. <<PreviousNext>>