All the data types implemented in the Visual Basic language are wrappers for the core .NET data types. Only some of the names have been changed to protect the innocent. Table 6-5 lists the Visual Basic data types and their .NET equivalents.
Table 6-5. Visual Basic data types and related .NET types
Visual Basic type
All the Visual Basic data types are fully interchangeable with their .NET equivalents. Any instance of
System.Int32 can be treated as though it were an instance of
Integer, and vice versa.