Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic lists the data types for Visual Basic, C++, C#, and F#.
Table of Data Types
Content and size |
Visual Basic |
C++ |
C# |
F# |
---|---|---|---|---|
Unknown data |
Not applicable |
VARIANT |
Derive types, then link to Derived Types node |
|
Decimal |
Decimal (.NET Framework structure) |
DECIMAL |
||
Date |
Date (.NET Framework structure) |
DATE |
||
SBCS character (1 byte) |
Not applicable |
Not applicable |
||
Unicode character (2 bytes) |
Char (.NET Framework structure) |
wchar_t |
||
Unicode character sequence |
String (.NET Framework class) |
wchar_t* |
||
Boolean (platform dependent) |
Boolean (.NET Framework structure) |
VARIANT_BOOL |
||
1 byte |
SByte Data Type (Visual Basic) (.NET Framework structure) |
signed char |
||
2 bytes |
Short (.NET Framework structure) |
signed short int |
||
4 bytes |
Integer (.NET Framework structure) |
|||
8 bytes |
Long (.NET Framework structure) |
|||
1 byte unsigned |
Byte (.NET Framework structure) |
BYTE |
||
2 bytes unsigned |
UShort Data Type (Visual Basic) (.NET Framework structure) |
unsigned short |
||
4 bytes unsigned |
UInteger Data Type (.NET Framework structure) |
unsigned int and unsigned long |
||
8 bytes unsigned |
ULong Data Type (Visual Basic) (.NET Framework structure) |
unsigned __int64 |
||
4 bytes floating point |
Single (.NET Framework structure) |
-or- |
||
8 bytes floating point |
Double (.NET Framework structure) |
-or- |
See Also
Reference
Programming Concepts Compared in Various Languages, with Code Examples
Operators Compared in Various Languages
Controls and Programmable Objects Compared in Various Languages and Libraries