Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

.NET Framework Equivalents to C++ Native Types (C++/CLI)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at .NET Framework Equivalents to C++ Native Types (C++/CLI).

The following table shows the keywords for built-in Visual C++ types, which are aliases of predefined types in the System namespace.

Visual C++ type.NET Framework type
signed char (see /J for more information)System.SByte
unsigned charSystem.Byte
double and long doubleSystem.Double
int, signed int, long, and signed longSystem.Int32
unsigned int and unsigned longSystem.UInt32
__int64 and signed __int64System.Int64
unsigned __int64System.UInt64
short and signed shortSystem.Int16
unsigned shortSystem.UInt16

Managed Types (C++/CLI)

© 2017 Microsoft