O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

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. Enumerations

Introduction to Enumerations

Enumerations, usually called Enums (not to be confused with lists or collections), are primarily meant to make life easier for programmers. Using Enums, you can define and group constant values by name. At the same time, you can restrict the values to that specific set of names and values. Suppose that you have created a small contact management application that lets you categorize your contacts. You can define a contact as a client, a friend, a business colleague, or as part of some other group. To simplify ...

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