• Saves Valuable Time
  • Trusted Accuracy for 12 Years
  • 15-Day Money-Back Guarantee

C# Equivalent to C++ Types

Only C++ 'fundamental' types are listed here, not library types.

C++ C#
int/signed int
long/long int/signed long/signed long int

long long/long long int
signed long long/signed long long int

short/short int
signed short/signed short int

unsigned/unsigned int
unsigned long/unsigned long int

unsigned short/unsigned short int
unsigned long long/unsigned long long int

bool
char/signed char
unsigned char
wchar_t
float
double/long double
int
int (may convert to 'long' on some systems)

long
long

short
short

uint
uint (may convert to 'ulong' on some systems)

ushort
ulong

bool
sbyte
byte
char
float
double


Use C++ to C# Converter to convert from C++ to C#.     

Additional resource: C++ and C# Equivalents


Copyright © 1997 – 2017 Tangible Software Solutions Inc.