Chapter 9. Classes and Structures

 <  Day Day Up  >  

Until now, we've mostly talked about working with predefined types, such as Integer or String . However, it is often convenient to define new data types that represent more complex concepts than just numbers or strings. When we are writing an order-tracking program, for example, it may be convenient to define a type that represents a customer. The customer type would include information about each customer who has opened an order: the customer's name , the customer's address, the customer's phone number, and so on.

This chapter discusses classes and structures that can be used to define just these kinds of types.

 <  Day Day Up  >  


The Visual Basic .NET Programming Language
The Visual Basic .NET Programming Language
ISBN: 0321169514
EAN: 2147483647
Year: 2004
Pages: 173
Authors: Paul Vick

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net