O'Reilly logo

ASP.NET Developer's JumpStart by Ken Getz, Paul D. Sheriff

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

Data Types

Visual Basic .NET provides a broad range of data types that you can use when defining variables and working with data. These data types are slightly different from those provided by VB6 or VBScript. Table 7.1 lists the available types, along with the corresponding .NET Framework data types (each .NET language, such as Visual Basic .NET or C# .NET, maps its specific data types to data types provided by the .NET Framework).

TIP

Note that the VB6 Currency data type is gone. Currency was a strange type: In order to avoid some round-off errors, Visual Basic multiplied the data values you entered by 10,000 for storage in memory and then divided by 10,000 again for display. In the .NET Framework, use the Decimal type instead, if you want ...

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