The following table shows the keywords for built-in C++ types, which are aliases of predefined types in the System namespace.
C++ type | .NET Framework type |
---|---|
bool |
System.Boolean |
signed char (see |
System.SByte |
unsigned char |
System.Byte |
wchar_t |
System.Char |
double and long double |
System.Double |
float |
System.Single |
int, signed int, long, and signed long |
System.Int32 |
unsigned int and unsigned long |
System.UInt32 |
__int64 and signed __int64 |
System.Int64 |
unsigned __int64 |
System.UInt64 |
short and signed short |
System.Int16 |
unsigned short |
System.UInt16 |
void |
System.Void |