O'Reilly logo

Visual Basic .NET Programming Language, The by Paul Vick

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 9. Classes and Structures

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.

Memory Management

Before we jump into classes and structures, however, it is necessary to take a step back ...

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