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 3. Fundamental Types

All information stored or used by a Visual Basic .NET program has a type. A type describes a piece of information to the .NET Framework, saying how it is used and stored. By assigning every piece of information a type, the language can enforce type-safe programming, which ensures that information is always interpreted in a correct manner, helping to reduce programming errors.

There are 11 fundamental types in Visual Basic .NET. All the fundamental types support literals, which are a textual representation of a particular value of a fundamental type. For example, the string 10.5 is a Double literal that represents the decimal value 10.5. The fundamental types are listed in Table 3-1.

Among the 11 fundamental types are ...

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